wok view android-sdk/stuff/tazdroid @ rev 19204

linld/tobzimage: add realmode_switch support (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 11 20:26:42 2016 +0200 (2016-06-11)
parents
children
line source
1 #!/bin/sh
2 #
3 # Small utility to work with Android SDK on SliTaz. It also act has a
4 # wrapper fot SDK tools such as 'android' or 'emulator'.
5 #
6 # (C) 2014 SliTaz GNU/LInux - BSD License
7 #
9 export PATH=$PATH:/opt/android-sdk/tools
10 export PATH=$PATH:/opt/android-sdk/platform-tools
11 export PATH=$PATH:/opt/android-sdk/build-tools
13 usage() {
14 echo "Usage: $(basename $0) [help|emulator|export]"
15 }
17 # Handle commands
19 case "$1" in
20 usage|help) usage ;;
21 emulator) emulator $@ & ;;
22 *) android $@ & ;;
23 esac && exit 0