OTA for Android

I developed an Android application and put .apk on my website that runs on LAMP, and I want to somehow enable the OTA installation (on air) of my application by simply providing the URL of the Android device.

How can i do this?

The scenario I want to create is this (if someone did not understand me correctly), the user scans the QR code of the apk url, and then installs it without visible problems. Right now, the user must download the file, then touch it to install it.

Thanks in advance.

+4
source share
2 answers

Just point the QR code to the actual .apk and let the user download it and manually install it. It is not possible for the user to read the QR and then automatically install the application. This is not how OTA or updates work. Even when you perform the actual OTA update for Android, for example, you must confirm that you need to complete the action.

Even if there is a way to achieve this, it doesn’t stop anyone from simply pulling out the .apk from their phone and looking at it or redesigning it.

+3
source

You can also see what adb install testapp.apk does and how it works ... Perhaps you can initiate it from your application as soon as you download the new version to phones (SD card).

-1
source

All Articles