wok diff android-sdk/stuff/tazdroid @ rev 20745

azpainter: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 10 10:35:42 2019 +0100 (2019-02-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/android-sdk/stuff/tazdroid	Sun Feb 10 10:35:42 2019 +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