Skip to content

Instantly share code, notes, and snippets.

@isfaaghyth
Last active July 20, 2020 19:46
Show Gist options
  • Save isfaaghyth/5bc99f3fcde9ef41b0c6363a7a3ccb43 to your computer and use it in GitHub Desktop.
Save isfaaghyth/5bc99f3fcde9ef41b0c6363a7a3ccb43 to your computer and use it in GitHub Desktop.
👾 Android Space

anything about android stuff!

get current activity

adb shell dumpsys window windows | grep -E 'mCurrentFocus'

start activity

adb shell am start -a android.intent.action.MAIN -n com.isfaaghyth.sample/.MainActivity

start activity with applink

adb shell am start -a android.intent.action.VIEW -d 'isfaaghyth://home'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment