This document provides an overview of developing Android applications. It discusses why embedded engineers should learn Android development and reviews Android's market share. It then covers the Model-View-Controller framework used in Android and demonstrates how to build a simple "Hello World" app in Android Studio. It explains the various files used in an Android project and how to run the app on an emulator or Android device. The document concludes by suggesting some next steps like modifying the app text and adding an interactive button.
2. Why an EC fellow should develop app
Embedded Engineer
Hardware optimization for Application life
cycle
Link between pure Hardware engineer and
pure IT engineer
Entrepreneurs are focusing on Mobile
Application
8. Development
I/O Interface or User Interface
XML Layout
Database update
XML Resources
Controller
Java Classes
Layout between Java
Android Manifest file
10. Tools required
Android SDK (Software Development Kit)
http://developer.android.com/sdk/index.html
ADT Plug In
http://developer.android.com/tools/sdk/eclipseadt.html
11. Eclipse
Start new project by File -> New -> Android
Application Project.
Select the Appropriate API version and
package name for your project.
Click on Next. Again click on next.
Select the launcher icon if you want.
For Activity select Blank Activity and click on
next and then finish.
12. What do all this file do?
MainActivity
Starting point of your application
Responds to events, clicks and
switches between activities
Layout Files
GUI for your application
Keeps Database
Android Manifest
Keeps track of Layouts and Java files
It contains the permission for other
interfaces like camera, memory card,
Bluetooth, GPS, Internet Access.
13. Create an Android Virtual Device
Click on AVD Icon :
Windows -> AVD Manager -> New.
16. Running your First App
Click the project folder so that it is highlighted (very
important . You must run your app from here)
Run as an Android App
The app will install on your android virtual device
Find your app name by clicking the apps icon and start
it