Friday, March 18, 2011

Android programming

Setting aside some time and do hands on with Android Programming.

Android is an OS designed for mobile devices. It could be used by developers of mobile applications to be used as a framework.

Here are the developer notes:

Tools:
Install the following
Jdk 1.6
Eclipse IDE helios 3.6: default choice for edit, debug, profile.
ADT 8.0.1 (Android development tools): Eclipse plugin. Run-time environment.
AVD: Android Virtual Device: Consists of Emulators, in short they are virtual devices providing environment to develop/test applications.
SDK: API library and tools

Basic building blocks of any Android application:
-Starting activity class(es): The actual Java coding goes here; including event handling and so on.
-Layout resource file
-AndroidManifest.xml (listing of activity classes goes in here)
-strings.xml (contains hard strings, that could be referred in other parts of the application)
-R.java
-Android library

Creating a simple Android application in Eclipse provides all basic building blocks. You can even launch it in Eclipse.

No comments: