Android: setup android

# edit your ~/.bash_profile
export PATH=${PATH}:/tools

# Wipe your emulator data
emulator -wipe-data

#create SD card
mksdcard 512M sdcard.iso

#set emulator -system /path in eclipse
Run -> Run Configuration -> Target -> Additional Emulator Command Line option
"-system /path -sdcard /path/sdimg.iso"
or run in shell like "emulator.exe -system /path -sdcard /path/sdimg.iso"

#put the file in the sdcard
adb push hello.py sdcard/hello.py
or
adb push hello.py data/hello.py

Test tinypy
adb push hello.py sdcard/hello.py
adb shell
tinypy sdcard/hello.py


or 

adb push hello.py data/hello.py
adb shell
tinypy data/hello.py

Comments

Popular posts from this blog

Linking verb - seem, sound, smell, appear, become, get, feel (Verb of Senses)

Phrasal Verb (กิริยาวลี) ที่ใช้บ่อย

If Clause 3 แบบ (Conditional Statement)