# HG changeset patch # User Christophe Lincoln # Date 1397848686 -7200 # Node ID d60afb5e45c3357a759e8a46aaec79de2c7b64ef # Parent 49e603db63f8f022c29caec6cf84ef80577903a2 Commit missing tazdroid diff -r 49e603db63f8 -r d60afb5e45c3 android-sdk/stuff/tazdroid --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/android-sdk/stuff/tazdroid Fri Apr 18 21:18:06 2014 +0200 @@ -0,0 +1,23 @@ +#!/bin/sh +# +# Small utility to work with Android SDK on SliTaz. It also act has a +# wrapper fot SDK tools such as 'android' or 'emulator'. +# +# (C) 2014 SliTaz GNU/LInux - BSD License +# + +export PATH=$PATH:/opt/android-sdk/tools +export PATH=$PATH:/opt/android-sdk/platform-tools +export PATH=$PATH:/opt/android-sdk/build-tools + +usage() { + echo "Usage: $(basename $0) [help|emulator|export]" +} + +# Handle commands + +case "$1" in + usage|help) usage ;; + emulator) emulator $@ & ;; + *) android $@ & ;; +esac && exit 0