You can start ddms via command line. Just use ddms command and it will pop up a gui similar to what is in eclipse. Need to have the path set first.
Things to do:
find utility in java similar to find on unix.
In platform-tools there is "adb". "adb devices" shows the android devices attached.
You can use adb in eclipse to take screenshots of the droid and to explore the filesystem.
Installing a device.
C:\Documents and Settings\davis\workspace\DroidTumbler\bin>adb devices
List of devices attached
HT068P900465 device
C:\Documents and Settings\davis\workspace\DroidTumbler\bin>adb -s HT068P900465 install DroidTumbler.apk
254 KB/s (20911 bytes in 0.080s)
pkg: /data/local/tmp/DroidTumbler.apk
Success
Push/pulling a file to the device.
C:\Documents and Settings\davis\workspace\DroidTumbler\bin>adb -s HT068P900465 push readme.txt /sdcard/mine/foo/readme.txt
2 KB/s (43 bytes in 0.020s)
C:\Documents and Settings\davis\workspace\DroidTumbler\bin>type readme.txt
line1: This is a test
line2: Test line two
C:\Documents and Settings\davis\workspace\DroidTumbler\bin>adb -s HT068P900465 pull /sdcard/mine/foo/readme.txt readme.enc
4 KB/s (43 bytes in 0.010s)
<on android run encryption program on the file.>
C:\Documents and Settings\davis\workspace\DroidTumbler\bin>type readme.enc
↑
C:\Documents and Settings\davis\workspace\DroidTumbler\bin>
No comments:
Post a Comment