aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2012-12-14 07:12:35 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2012-12-14 07:12:35 +0000
commit2939f181f138671d2a3ff60b054e7e4bd81820e4 (patch)
tree2b8faccd03be273b2f539862aef3c4f91552a831
parent4714b9b897cdc70671edb3249d68180bbbf3d3f9 (diff)
downloadswig-2939f181f138671d2a3ff60b054e7e4bd81820e4.tar.gz
Add Android install options for optional storage to SD Card
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--Examples/android/class/Makefile3
-rw-r--r--Examples/android/extend/Makefile3
-rw-r--r--Examples/android/simple/Makefile3
3 files changed, 6 insertions, 3 deletions
diff --git a/Examples/android/class/Makefile b/Examples/android/class/Makefile
index 7de95f559..2a3f0ec2d 100644
--- a/Examples/android/class/Makefile
+++ b/Examples/android/class/Makefile
@@ -7,6 +7,7 @@ PACKAGENAME= org.swig.classexample
SWIGOPT = -package $(PACKAGENAME) -outdir $(PACKAGEDIR)/classexample
PROJECTNAME= SwigClass
TARGETID = 1
+#INSTALLOPTIONS = -s # To install on SD Card
all:: android
@@ -18,7 +19,7 @@ android::
install::
-adb uninstall $(PACKAGENAME)
- adb install bin/$(PROJECTNAME)-debug.apk
+ adb install $(INSTALLOPTIONS) bin/$(PROJECTNAME)-debug.apk
clean::
ant clean
diff --git a/Examples/android/extend/Makefile b/Examples/android/extend/Makefile
index 98a0372dd..e8c1b5e16 100644
--- a/Examples/android/extend/Makefile
+++ b/Examples/android/extend/Makefile
@@ -7,6 +7,7 @@ PACKAGENAME= org.swig.extendexample
SWIGOPT = -package $(PACKAGENAME) -outdir $(PACKAGEDIR)/extendexample
PROJECTNAME= SwigExtend
TARGETID = 1
+#INSTALLOPTIONS = -s # To install on SD Card
all:: android
@@ -18,7 +19,7 @@ android::
install::
-adb uninstall $(PACKAGENAME)
- adb install bin/$(PROJECTNAME)-debug.apk
+ adb install $(INSTALLOPTIONS) bin/$(PROJECTNAME)-debug.apk
clean::
ant clean
diff --git a/Examples/android/simple/Makefile b/Examples/android/simple/Makefile
index 1e95de6e3..9aeb0c80d 100644
--- a/Examples/android/simple/Makefile
+++ b/Examples/android/simple/Makefile
@@ -7,6 +7,7 @@ PACKAGENAME= org.swig.simple
SWIGOPT = -package $(PACKAGENAME) -outdir $(PACKAGEDIR)/simple
PROJECTNAME= SwigSimple
TARGETID = 1
+#INSTALLOPTIONS = -s # To install on SD Card
all:: android
@@ -18,7 +19,7 @@ android::
install::
-adb uninstall $(PACKAGENAME)
- adb install bin/$(PROJECTNAME)-debug.apk
+ adb install $(INSTALLOPTIONS) bin/$(PROJECTNAME)-debug.apk
clean::
ant clean