Wednesday, July 21, 2010

HelloWorld in Android

Now we are able to write a hello world application in Android. It is quite easy but it will create confidence in you. One you run an application you will be come more confident and trying to do some thing new in it. Please correct me if I am wrong in any place. Your comments are precious for me.

  1. Press "New>Projects...".

  2. Select "Android>Android Project" node.
  3. Press Next button.
  4. A new dialog box open.
  5. Give Project name as "HelloWorld". Application name as "HelloWorld". Select desire SDK. Give package name like "com.my.app". First Activity Name like "MyActivity". Leave Min SDK version.
  6. Finish Button will be enabled. Press finish button.
  7. In left pane your application node will be appear.
  8. Right click on it and select "Run As>Android Application".
  9. Wait for load android AVD and its starting. As its Start your application show a screen with the message "Hello World". :)
Congratulation! Your first application is running.

No comments:

Post a Comment