Quote:
Originally Posted by DuckieTigger
You have to replace current with the real number. Use to get it.
|
AAAAAAAAAAAAAAAHHHHHRGH. Apparently all the system tools in Android run under java, not just the apps you install. Horrible, no wonder it is so slow. Is Android just a linux kernel that starts up a java VM? Anyway, if you don't want to use adb, you can use the package manager, but much simpler than what you are thinking:
Code:
$ adp push com.amazon.kindle-4.16.0.75-1145045067-minAPI16.apk /mnt/sdcard/k.apk
com.amazon.kindle-4.16.0.75-1145045067-minAPI16.apk: 1 file pushed, 0 skipped. 18.8 MB/s (40868769 bytes in 2.076s)
$ adb shell
root@generic:/ # pm install /mnt/sdcard/k.apk
pkg: /mnt/sdcard/k.apk
Success
root@generic:/ # exit
This has the same result as
Code:
adb install com.amazon.kindle-4.16.0.75-1145045067-minAPI16.apk
No need to reinvent the wheel.