Question

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

How can I do it?

Scenario I wish to produce is (if someone didn't understand me correctly) that user scanns QR code of apk's URL and then install it seemlessly. Right now, user must download the file, then tap on it to install it.

Thanks in advance.

Was it helpful?

Solution

Just have the QR code point to the actual .apk and let the user download it and manually install it. There is no way to have a user read the QR and upon that automatically install the app. Thats not how OTA installations nor updates work. Even when you perform an actual OTA update of Android for example you have to confirm that you'd like the action to be performed.

Even if there is a way to achieve this it won't hinder anyone to just pull the .apk from his phone and take a look at it or reverse engineer it.

OTHER TIPS

You may also see what adb install testapp.apk does and how it works... Maybe you can initiate it from your app, once you download the new version to the phones (SD Card)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top