wok-next diff android-sdk/stuff/tazdroid @ rev 21500
updated asunder (2.9.3 -> 2.9.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 06:47:46 2020 +0100 (2020-06-19) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/android-sdk/stuff/tazdroid Fri Jun 19 06:47:46 2020 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +#!/bin/sh 1.5 +# 1.6 +# Small utility to work with Android SDK on SliTaz. It also act has a 1.7 +# wrapper fot SDK tools such as 'android' or 'emulator'. 1.8 +# 1.9 +# (C) 2014 SliTaz GNU/LInux - BSD License 1.10 +# 1.11 + 1.12 +export PATH=$PATH:/opt/android-sdk/tools 1.13 +export PATH=$PATH:/opt/android-sdk/platform-tools 1.14 +export PATH=$PATH:/opt/android-sdk/build-tools 1.15 + 1.16 +usage() { 1.17 + echo "Usage: $(basename $0) [help|emulator|export]" 1.18 +} 1.19 + 1.20 +# Handle commands 1.21 + 1.22 +case "$1" in 1.23 + usage|help) usage ;; 1.24 + emulator) emulator $@ & ;; 1.25 + *) android $@ & ;; 1.26 +esac && exit 0