Permalink
Browse files

Iniital commit

  • Loading branch information...
0 parents commit 4e19ef7f3e228d9db4c070d5124156ae5d5ed70a @hron84 committed Dec 12, 2011
Showing with 103 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +13 −0 INSTALL
  3. +22 −0 Info.plist
  4. +17 −0 LICENSE
  5. +14 −0 Makefile
  6. +17 −0 README.md
  7. BIN android.icns
  8. +5 −0 android.sh.in
  9. +13 −0 mkscript.sh
@@ -0,0 +1,2 @@
+.DS_Store
+Android.app
13 INSTALL
@@ -0,0 +1,13 @@
+Android SDK manager launcher
+============================
+
+To make launcher app, run
+
+ make SDK_HOME=/opt/android-sdk
+
+where SDK_HOME is where you unpacked android sdk zip.
+
+It will be creates Android.app what you can drag & drop
+anywhere in your filesystem, e.g. /Applications
+
+
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleExecutable</key>
+ <string>android.sh</string>
+ <key>CFBundleIconFile</key>
+ <string>android.icns</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.android.manager</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>Android SDK Manager</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+</dict>
+</plist>
17 LICENSE
@@ -0,0 +1,17 @@
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS
+PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR
+OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS
+LICENSE OR COPYRIGHT LAW IS PROHIBITED.
+
+BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE
+BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED
+TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN
+CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
+
+EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE
+LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL,
+PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE
+WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+FOR FULL LICENSE TEXT, PLEASE VISIT
+http://creativecommons.org/licenses/by/3.0/legalcode
@@ -0,0 +1,14 @@
+MKSCRIPT = ./mkscript.sh
+SDK_HOME =
+
+all: app
+
+app: android.sh
+ install -c -d Android.app/Contents/MacOS
+ install -c -d Android.app/Contents/Resources
+ install -c -m 0755 android.sh Android.app/Contents/MacOS
+ install -c -m 0644 Info.plist Android.app/Contents
+ install -c -m 0644 android.icns Android.app/Contents/Resources
+
+android.sh: android.sh.in
+ $(MKSCRIPT) "$(SDK_HOME)"
@@ -0,0 +1,17 @@
+Android SDK Launcher
+====================
+
+This application is just a launcher for Android SDK and AVD manager application.
+
+Before you can use it, please download the Android SDK from http://developer.android.com/sdk/index.html
+
+After you unpacked it and moved to the final place, you can grab and build the laucnher
+
+For building launcher, please read INSTALL file.
+
+License
+-------
+
+This program is licensed under the terms of CreativeCommons BY 3.0 license, read LICENSE file for details.
+
+Copyright (c) 2011 Gabor Garami
Binary file not shown.
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+SDK_HOME=@@SDK_HOME@@
+
+exec ${SDK_HOME}/tools/android
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ -z "$1" ]; then
+ echo "SDK HOME is missing"
+ exit 1
+fi
+
+if [ ! -x "$1/tools/android" ]; then
+ echo "Android SDK manager missing"
+ exit 1
+fi
+
+sed "s,@@SDK_HOME@@,$1," android.sh.in > android.sh

0 comments on commit 4e19ef7

Please sign in to comment.