Saturday, June 15, 2013

Android Beginner Tutorial : Hello world Android

Android Beginner Tutorial : Hello world Android, Android

Android Hello World Program for Beginners :

Nowadays android is very famous operating system among mobile users. So many times we confuse that from where to start android development .So this is the article for you. Android  development using eclipse IDE is very easy. So we will see how to configure our own machine for android development.

So first you need to download android sdk for android development. Today android sdk comes with eclipse so this is a complete bundle for android development. So download it by clicking below link.

Download android complete adt bundle from  http://developer.android.com/sdk/index.html as below

Android Beginner Tutorial : Hello world Android, Android


Select your operating system and download the version like window or some linux version of android sdk onto your local machine 

Extract android adt bundle onto your local machine 

Android adt bundle contain eclipse and sdk folder sdk folder contain sdk manager for android and eclipse is an IDE for android development

Android Beginner Tutorial : Hello world Android, Android


Goto eclipse folder and double click on eclipse.exe
Now start to do android development then it ask to select the work space for android projects

Android Beginner Tutorial : Hello world Android, Android


Then the you can see welcome screen close welcome screen tab then it will show your development prospective

Android Beginner Tutorial : Hello world Android, Android


Now start to do your first android hello world program
First Click on  File menu and create new project as shown in the below figure

Android Beginner Tutorial : Hello world Android, Android

Then it will ask for enter application name, project name then give the name to your android application project and then click next button,

Android Beginner Tutorial : Hello world Android, Android


Android Beginner Tutorial : Hello world Android, Android

Android Beginner Tutorial : Hello world Android, Android


Android Beginner Tutorial : Hello world Android, Android


Android Beginner Tutorial : Hello world Android, Android

Go to the window->Android Device Virtual Manager to start the android emulator. Android device virtual manager helps to run the android programs on our computer or local machine for testing purpose or to check how the android application looks on mobile before launch the application in mobile.

Android Beginner Tutorial : Hello world Android, Android

Then after opening the android device virtual manager we have to create the new android virtual emulator to run our android applications

Android Beginner Tutorial : Hello world Android, Android

Android Beginner Tutorial : Hello world Android, Android

Android Beginner Tutorial : Hello world Android, Android

Then after creating emulator just start it and minimize the emulator..

Android Beginner Tutorial : Hello world Android, Android

Android Beginner Tutorial : Hello world Android, Android

After this just select the project right click on it and press run as android application as shown in below figure

Android Beginner Tutorial : Hello world Android, Android

the output after running android hello world program look like below,

Android Beginner Tutorial : Hello world Android, Android


best luck friends... for starting development in android...
In next article we will see more features and structure of android program..
Thanks for reading...



3 comments:

  1. nice it's useful for Android beginner

    ReplyDelete
  2. Good article...
    Please read this and let me know your thoughts on this one...
    http://www.suhelsayyad.com/2013/06/android-you-use-it-but-do-u-know.html

    ReplyDelete
  3. This is the best tutorial to get started with android.
    Keep it up.

    ReplyDelete