Android tutorial and examples
What is Android?
Android,
an open source operating system for mobile devices (Smartphone and
tablet), led by Google. The Android SDK provides a set of tools and APIs
to develop Android applications, using Java. So, if you know Java,
Android programming is easy :)
Note
All Android tutorials are developed in Eclipse Juno 4.2, and tested with Android Jelly Bean 4.2.2.
Android installation steps:-
Android programming
starts with downloading of android sdk called adt bundle for windows
this is available at this link http://developer.android.com/sdk/index.html download this zip file contains
With 32-bit and 64-bit versions
- Extract the zip file. Its consists of latest version
of eclipse IDE and android SDK
- Open eclipse IDE
- Choose the window option
- In window select preferences in this set android sdk location
Few Steps to add Android SDK :-
In Eclipse: select Window > Preferences.
In left side panel click on Android option. In right side panel click on Browse button and add SDK location, then click on Apply and Ok butons
Few steps to create Emulator:-
Creating an AVD
You can create as many
AVDs as you would like to test on. It is recommended that you test your
applications on all API levels higher than the target API level for your
application.
To create an AVD:
In Eclipse: select Window > AVD Manager, or click the AVD Manager icon in the Eclipse toolbar.
In Android Virtual Device Manager click on New.. button.
- In nex step fill the details in Create new Android Virtual Device (AVD) then click on ok button.
In next step select your device and click on start button
In next step you get Launch Options window then click on Launch button
And finally you get Emulator what ever you created.
So finally using this Emulator you can run your Android applications.
No comments:
Post a Comment