Skip to content

Instantly share code, notes, and snippets.

@rnagarajanmca
Last active October 24, 2023 18:07
Show Gist options
  • Save rnagarajanmca/e80d8b73a1c5bb1c3f1129943b07d4b1 to your computer and use it in GitHub Desktop.
Save rnagarajanmca/e80d8b73a1c5bb1c3f1129943b07d4b1 to your computer and use it in GitHub Desktop.
Register windows context menu entry to install apk with adb
@ECHO OFF
ECHO Running "adb install -r %1"
adb install -r %1
PAUSE
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Android adb install]
@="Android: install APK"
"Icon"="%SystemRoot%\\System32\\shell32.dll,196"
[HKEY_CLASSES_ROOT\*\shell\Android adb install\command]
@="\"C:\\devenv\\commands\\install-apk.bat\" \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment