How to compile and install an application to your Android phone from the command line
Assuming you have already connected your Android in debug mode run the following
two commands:
android update project -p . -t 4
ant debug install
Note to self you have aliased the above two commands to ".d"
See also