ANDROID CODE - cmyes/repo GitHub Wiki

Hello World - Your First Android Application


ANDROID DEVELOPMENT TUTORIALS AND CODE EXAMPLES


Following is a step by step guide in creating your first "Hello World" Android application.It was created with the following setup:

  • Windows (I happen to be using Windows 7, but any flavor of windows will do)
  • Eclipse IDE for Java Developers (v3.5 Galileo)
  • Java Platform (JDK 6 Update 18)
  • Android SDK Tools, Revision 4 Let's get started...

Create a new Android project (File > New > Android Application)

    • Set your project properties
    • Project Name: Hello World
    • Minimum Required SDK - API8:Android 2.2 (Froyo)
    • Target SDK - API21:Android 4.x (L Preview)
    • Compile With - API21:Android 4.x (L Preview)
    • Package Name: com.android.test
    • Create Activity: HelloWorld
    • Press "Finish"