Dobrica Pavlinušić's random unstructured stuff
Android development: Revision 16
I will try to collect here useful tips for making Android development work for command-line loving person like me. See [Android G1] if you are interested in hardware.
^ ADB Part of http://developer.android.com/sdk/index.html ^^ Remote adb access .pre dpavlin@t61p:~/Downloads/android$ adb shell # setprop service.adb.tcp.port 5555 .pre .pre dpavlin@t61p:~$ ssh -R 5555:192.168.1.40:5555 klin .pre .pre dpavlin@klin:~$ adb connect 127.0.0.1:5555 dpavlin@klin:~$ adb devices List of devices attached 127.0.0.1:5555 device .pre ^^ provision device * http://balloonboard.org/balloonwiki/AndroidBalloon .pre adb shell su cd /data/data/com.android.providers.settings/databases sqlite3 settings.db INSERT INTO system (name, value) VALUES ('device_provisioned', 1); .exit .pre ^ CyanogenMod * http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_Dream_%26_Sapphire * enable swap with /system/etc/init.d/{file: 99swapon} ^ SL4A * http://code.google.com/p/android-scripting/wiki/RemoteControl ^ x86 * http://www.android-x86.org/getsourcecode .pre dpavlin@android:/srv/android-x86$ repo init -u git://git.android-x86.org/manifest.git -b froyo-x86 dpavlin@android:/srv/android-x86$ repo sync # configure build dpavlin@android:/srv/android-x86$ . build/envsetup.sh dpavlin@android:/srv/android-x86$ lunch .pre ^ Application build process * http://www.alittlemadness.com/2010/06/07/understanding-the-android-build-process/ ^ repo * http://source.android.com/source/git-repo.html * enviroment vars: REPO_PROJECT REPO_PATH REPO_REMOTE * see git command output: `export REPO_TRACE=1` * export md5 hashes of verything (create tag): `repo manifest -r -o tag.xml` ^ repack applications * http://code.google.com/p/android-apktool/ |