Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Getting started with android software development

1,850 views

Published on

Getting started with Android Software Development

Published in: Education, Technology
  • Be the first to comment

Getting started with android software development

  1. 1. HELLO ANDROID!!!
  2. 2. Getting Started with Android Software DevelopmentTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  3. 3. SYSTEM/SOFTWARE REQUIREMENTS • OS-Windows/Linux/MacOS • Android SDK • Eclipse IDE • JDK 1.5 (minimum) • At least 2 GB disk space recommendedTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  4. 4. Installing JDK and Android SDK • 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 SDKTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  5. 5. ECLIPSE IDE AND ADT PLUGIN • Download ECLIPSE IDE from http://www.eclipse.org/ downloads/packages/e clipse-ide-java- developers/indigosr1Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  6. 6. ECLIPSE IDE AND ADT PLUGIN • Open Eclipse IDE • Install ADT plugin(Android Development Tool) for Eclipse • Choose HelpInstall New Software option • Click Add Button • Add the Name(any) and Location as given hereTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  7. 7. 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 AVDTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  8. 8. CONFIGURING ECLIPSE • Open System Propertries or use the shortcut key Win+Break • Open Advanced tab and click on Environment Variables buttonTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  9. 9. CONFIGURING ECLIPSE • Create a new system variable with name Path and the value as the installation directory of jdk as shown here.Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  10. 10. CONFIGURING ECLIPSE • In Eclipse,Choose WindowsPreferences option • Under the Android menu enter the Android SDK location as shown hereTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  11. 11. HELLO WORLD APPLICATIONTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  12. 12. HELLOWORLD APP • Open Eclipse • Choose FileNewProject option • Select Android Project option from Android menu • Click NextTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  13. 13. HELLOWORLD APP • Enter the ProjectName in the typebox • Click NextTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  14. 14. HELLOWORLD APP • Choose the desired build target • Here we chose the target as Android 2.2 • Click NextTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  15. 15. 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 EclipseTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  16. 16. HELLOWORLD APP • Choose RunConfigurations option or Use icon • DoubleClick on Android Application. • Enter a Config name and the Project name as shown hereTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  17. 17. HELLOWORLD APP • In Run Configurations Under Target tab • Choose the AVD and the target selection mode as Automatic (default) • Click Apply • Click RunTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  18. 18. EMULATOR OUTPUTTechnology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.
  19. 19. Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

×