Download - 02.1 - Getting Started with Android
02.1. Getting Started Android
Oum SaokosalMaster of Engineering in Information Systems, South Korea
System Requirements for Android
• System Supported:– Windows XP, Vista, 7, 8– Mac OS X 10.4.8 or later (x86 only)– Linux (tested on Linux Ubuntu Dapper Drake)
• Android Developer Tools*http://developer.android.com/sdk/index.html
• JDK 6 or later
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Structure of Android App
A controller contained java codes
In bin folder, there is the apk file.
Image folders
The layout is a user interface(UI)Menu is for a menu
Configuration file
Run a Project
• Before running a project, you need to add two important panels:1. Window -> Show View -> Console2. Window -> Show View -> Other -> LogcatThese panels help you to see the errors.
In case you want to create your own customized device:In case you want to create your own customized device:
Output apk from Android Device
apk = Android PackageAn apk is the only file needed to installon your real android device!
Run Directly on a Connect Device
1. On your android device, go to setting -> locate and tick on "USB Debugging " that mostly in Developer options
2. Connect your device to a computer, and might installed a correct driver
3. In Eclipse, configure run again:
4. Click Run to directly run on your real device.5. If it is not working, check step 1 again.
Install apk into Android Device
1. Copy your app, e.g. HelloWorld.apk, into your Android device.
2. On your device, go to Setting -> More-> Security-> Unknown Sources
3. Browse the app in your device, then click to install.