Dobrica Pavlinušić's random unstructured stuff
Android development: Revision 13

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

dpavlin@t61p:~/Downloads/android$ adb shell
# setprop service.adb.tcp.port 5555

dpavlin@t61p:~$ ssh -R 5555:192.168.1.40:5555 klin

dpavlin@klin:~$ adb connect 127.0.0.1:5555

dpavlin@klin:~$ adb devices
List of devices attached 
127.0.0.1:5555  device

provision device

adb shell
su
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
INSERT INTO system (name, value) VALUES ('device_provisioned', 1);
.exit

CyanogenMod

SL4A

x86

Application build process

repo