Android hello

Required software:
export JAVA_HOME=// export PATH=${PATH}://bin/
 * JDK ( >= 1.5) http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html
 * download and install JDK.
 * set JAVA_HOME and update PATH variable (add also this lines to ~.bashrc file)

export ANT_HOME=/ export PATH=${PATH}:/bin/
 * ANT ( >= 1.8.0) http://ant.apache.org/bindownload.cgi
 * download and unpack ant archive.
 * set ANT_HOME and update PATH variable (add also this lines to ~.bashrc file)

export PATH=${PATH}:/tools/ export PATH=${PATH}:/platform-tools/
 * Android SDK http://developer.android.com/sdk/index.html
 * download and unpack SDK archive.
 * update PATH variable (add also this lines to ~.bashrc file)

$ android In the Android SDK and AVD Manager, choose Available Packages in the left panel. In the right panel, expand the Android Repository list to display the components available for installation. Select at least one platform to install, and click Install Selected. If you aren't sure which platform to install, use the latest version.
 * Adding SDK Components http://developer.android.com/sdk/adding-components.html
 * Navigate to the /tools/ directory.
 * Execute the android tool command with no options.

In command line:
android create project \ --target 1 \ --name MyAndroidApp \ --path ./MyAndroidAppProject \ --activity MyAndroidAppActivity \ --package com.example.myandroid
 * Create draft of android project (more http://developer.android.com/guide/developing/projects/projects-cmdline.html)

cd ./MyAndroidAppProject ant debug
 * Create debugging apk

android
 * Start your AVD or plugin your android device to computer (more http://developer.android.com/guide/developing/devices/managing-avds-cmdline.html)
 * To create and start AVD use *android* utility:

adb install bin/MyAndroidApp-debug.apk
 * Install apk on your android device or AVD


 * Managing Android Projects* http://developer.android.com/guide/developing/projects/projects-cmdline.html