Android Tutorials - Herong's Tutorial Examples - v3.03, by Herong Yang
Installing Application to Tablet using "ant installd"
This section provides a tutorial example on how to install the debug package of my 'HelloAndroid' application to my Samsung mini tablet using the 'ant installd' command through the USB debugging interface.
I think I am ready try to install my own applications on my Samsung mini tablet and debug/test them.
Let's try to install the "HelloAndroid" debug package to my tablet first using the "ant installd" command. See previous tutorials on how to build the debug package.
You may need to shutdown the Android emulator to run "ant installd", because it can not support 2 connected Android devices.
C:\herong\HelloAndroid>\local\apache-ant-1.8.3\bin\ant installd Buildfile: C:\herong\HelloAndroid\build.xml -set-mode-check: -set-debug-files: install: [echo] Installing C:\herong\HelloAndroid\bin\HelloAndr oid-debug.apk onto default emulator or device... [exec] pkg: /data/local/tmp/HelloAndroid-debug.apk [exec] Success [exec] 812 KB/s (14980 bytes in 0.018s) installd: BUILD SUCCESSFUL Total time: 6 seconds
It works! "ant installd" installed my debug package of "HelloAndroid" to my mini tablet through the USB debugging interface.
To verify, go to the tablet and tap on "Applications". You will see "HelloAndroid" listed and ready to run.
Table of Contents