Professional Documents
Culture Documents
SYSTEM/SOFTWARE REQUIREMENTS
OS-Windows/Linux/MacOS Android SDK Eclipse IDE JDK 1.5 (minimum) At least 2 GB disk space recommended
Download JDK from http://www.oracle.com/technetwork/java/javase/do wnloads/index.html Download Android SDK from http://developer.android.com/sdk/index.html Install JDK first and then install the Android SDK
Copyright 2008
SETTING UP EMULATOR
Open SDK Manager Choose Tools Manage AVDs Android Virtual Device (AVD) Choose New and Enter the options as you prefer in the dialog box shown here Click Create AVD
CONFIGURING ECLIPSE
Open System Propertries or use the shortcut key Win+Break Open Advanced tab and click on Environment Variables button
CONFIGURING ECLIPSE
Create a new system variable with name Path and the value as the installation directory of jdk as shown here.
CONFIGURING ECLIPSE
In Eclipse,Choose Windows Preferences option Under the Android menu enter the Android SDK location as shown here
HELLOWORLD APP
Open Eclipse Choose File New Project option Select Android Project option from Android menu Click Next
HELLOWORLD APP
Enter the ProjectName in the typebox Click Next
HELLOWORLD APP
Choose the desired build target Here we chose the target as Android 2.2 Click Next
HELLOWORLD APP
Enter Application Name Enter Package Name Enter Minimum SDK Version Click Finish A new Project is created now Note:The HelloWorld code is automatically generated by Eclipse
Technology beyond the Dreams
Copyright 2006 Pantech Solutions Pvt Ltd.
HELLOWORLD APP
Choose Run Configurations option or Use icon DoubleClick on Android Application. Enter a Config name and the Project name as shown here
HELLOWORLD APP
In Run Configurations Under Target tab Choose the AVD and the target selection mode as Automatic (default) Click Apply Click Run
EMULATOR OUTPUT