# 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"
adb shell
tinypy sdcard/hello.py
adb push hello.py data/hello.py
adb shell
tinypy data/hello.py
export PATH=${PATH}:
#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.pyadb shell
tinypy sdcard/hello.py
or
adb push hello.py data/hello.py
adb shell
tinypy data/hello.py
Comments