Wednesday, April 29, 2009

android notes

To develop on android, I need open four consoles at least:
1. one console to show the log -- ``$ adb logcat''.
2. one console to run the emulator -- ``$ emulator -sdcard sd.img -avd qslavd''.
3. A third console to build the source code, and install the package:

$ ant debug
$ adb install -r .\bin\foo-debug.apk
$ adb push your\file /sdcard

4. A vim gui/console to edit source code