Install any .apk with double click
If you are on windows, you can create a .bat file that runs a command to install the .apk on the connected device. For that, create a new text file, rename it to install_apk.bat and edit it to add these lines:
adb install -r %1
%PROMPT%
save and close it, then go to any apk file on your computer, right click, properties. Where it says something like "opens with" click change and search for you .bat file. Be sure to mark the "always use the selected program" checkbox.
There you go, now every time you want to install something on the phone you can double click the apk. Beware that it doesn't check for already installed packages with different certificate, insufficient storage, etc.
Written by Fernando F. Gallego
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Android
Authors
Related Tags
#android
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#