aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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