forked from organicmaps/organicmaps
Clean up and .gitignore
This commit is contained in:
parent
dfee4daff2
commit
5a460a99b4
7 changed files with 43 additions and 30 deletions
3
android/.gitignore
vendored
3
android/.gitignore
vendored
|
@ -3,7 +3,10 @@ gen/
|
|||
.settings/
|
||||
resbuilder/
|
||||
spoon-output/
|
||||
assets/
|
||||
obj/
|
||||
|
||||
*.class
|
||||
.classpath
|
||||
.cproject
|
||||
.project
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
#1
|
||||
adb -s S557026e32038 uninstall com.mapswithme.maps.pro
|
||||
adb -s S557026e32038 install bin/MapsWithMePro-debug.apk
|
||||
adb -s S557026e32038 shell am start -a android.intent.action.MAIN -n com.mapswithme.maps.pro/com.mapswithme.maps.DownloadResourcesActivity
|
||||
#2
|
||||
adb -s 4df1615c2383596f uninstall com.mapswithme.maps.pro
|
||||
adb -s 4df1615c2383596f install -r bin/MapsWithMePro-debug.apk
|
||||
adb -s 4df1615c2383596f shell am start -a android.intent.action.MAIN -n com.mapswithme.maps.pro/com.mapswithme.maps.DownloadResourcesActivity
|
||||
#3
|
||||
adb -s B0CB060325140SCN uninstall com.mapswithme.maps.pro
|
||||
adb -s B0CB060325140SCN install -r bin/MapsWithMePro-debug.apk
|
||||
adb -s B0CB060325140SCN shell am start -a android.intent.action.MAIN -n com.mapswithme.maps.pro/com.mapswithme.maps.DownloadResourcesActivity
|
0
android/script/run_monkey.sh
Normal file → Executable file
0
android/script/run_monkey.sh
Normal file → Executable file
37
android/script/uninstall.sh
Executable file
37
android/script/uninstall.sh
Executable file
|
@ -0,0 +1,37 @@
|
|||
#!/bin/bash
|
||||
|
||||
LITE=com.mapswithme.maps
|
||||
PRO=com.mapswithme.maps.pro
|
||||
|
||||
package=lp
|
||||
serial=
|
||||
|
||||
while getopts s:p: opt; do
|
||||
case $opt in
|
||||
s)
|
||||
serial=$OPTARG
|
||||
;;
|
||||
p)
|
||||
package=$OPTARG
|
||||
;;
|
||||
esac
|
||||
done
|
||||
shift $((OPTIND - 1))
|
||||
|
||||
if [ -z $serial ]; then
|
||||
ID=""
|
||||
else
|
||||
ID="-s $serial"
|
||||
fi
|
||||
|
||||
if [[ $package == *l* ]]
|
||||
then
|
||||
echo "uninstalling $LITE"
|
||||
adb $ID uninstall $LITE
|
||||
fi
|
||||
|
||||
if [[ $package == *p* ]]
|
||||
then
|
||||
echo "uninstlling $PRO"
|
||||
adb $ID uninstall $PRO
|
||||
fi
|
3
android/script/uninstall_all.sh
Normal file
3
android/script/uninstall_all.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
sh uninstall.sh -s $1 -p lp
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
LITE=com.mapswithme.maps
|
||||
if [ -z $1 ]; then
|
||||
adb uninstall $LITE
|
||||
else
|
||||
adb -s "$1" uninstall $LITE
|
||||
fi
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
PRO=com.mapswithme.maps.pro
|
||||
if [ -z $1 ]; then
|
||||
adb uninstall $PRO
|
||||
else
|
||||
adb -s "$1" uninstall $PRO
|
||||
fi
|
Loading…
Add table
Reference in a new issue