wok-6.x rev 16447
Commit missing tazdroid
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 21:18:06 2014 +0200 (2014-04-18) |
parents | 49e603db63f8 |
children | 42372193a480 |
files | android-sdk/stuff/tazdroid |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/android-sdk/stuff/tazdroid Fri Apr 18 21:18:06 2014 +0200 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