mirror of https://github.com/fltk/fltk
6 lines
291 B
Bash
Executable File
6 lines
291 B
Bash
Executable File
PATH=$(dirname $(which android))/../build-tools/21.1.1:$PATH
|
|
pkg=$(aapt dump badging $1|awk -F" " '/package/ {print $2}'|awk -F"'" '/name=/ {print $2}')
|
|
act=$(aapt dump badging $1|awk -F" " '/launchable-activity/ {print $2}'|awk -F"'" '/name=/ {print $2}')
|
|
adb shell am start -n $pkg/$act
|
|
|