Skip to content

Instantly share code, notes, and snippets.

@Biodam
Last active June 19, 2018 16:23
Show Gist options
  • Save Biodam/d4a4abbf68d753d4e6f5607fcef1f06e to your computer and use it in GitHub Desktop.
Save Biodam/d4a4abbf68d753d4e6f5607fcef1f06e to your computer and use it in GitHub Desktop.
Adds windows explorer custom context menu item to use adb install directly from a selected .apk file. This two files needs to be at "C:\CustomContextMenu" and adb needs to be in your PATH for them to work right away. Double click in the "add_reg.reg" to add the register info. Then you should be able to see the "adb_install" in the context menu.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.apk\shell\adb_install]
@="Execute adb_install"
[HKEY_CLASSES_ROOT\apkfile\shell\adb_install\command]
@="\"C:\\CustomContextMenu\\InstallAPK.bat\" \"%1\""
adb install %1
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment