# Make sure the following are in your PATH:
# JAVA_HOME/bin
# ANT_HOME/bin
# ANDROID_SDK_HOME/tools
# ANDROID_SDK_HOME/platform-tools

android create project -n MyClock -t android-10 -p MyClock -k com.example.myclock -a MyClockActivity 
cd MyClock

  [Linux] vi res/layout/main.xml
[Windows] notepad res/layout/main.xml
# Add to TextView:
#  android:id="@+id/clockview" 

  [Linux] vi src/com/example/myclock/MyClockActivity.java
[Windows] notepad src/com/example/myclock/MyClockActivity.java
# To the end of onCreate(), add:
#  android.widget.TextView clockview = (android.widget.TextView)findViewById(R.id.clockview);
#  clockview.setText(java.text.DateFormat.getDateTimeInstance().format(new java.util.Date()));

ant debug

adb install bin/MyClock-debug.apk
