blob: 2e01c69939e55d100fa3ec768f31492fc1f06ddb (
plain)
1
2
3
4
5
|
#!/bin/sh
package=$(xmllint --xpath "string(/manifest/@package)" AndroidManifest.xml)
adb install -r -t paste.signed.apk || exit
#todo: use xpath to find the activity
adb shell am start -n "$package/.MainActivity"
|