Domanda

I have developed an android .apk file and I need to put it on my website for OTA installation (For some reasons, I cannot put it on Android Market). The idea is, I will send sms with the link of .apk file to the android device and by clicking the application should start download and installation process. At the moment, when I try, it is a two step process - 1. it downloads the .apk file 2. I need to click on .apk file to install it.

Is there anyway to remove step 2 (click on .apk file to install it) and by clicking on url of .apk file, it gets downloaded and installed (of course by asking all the necessary permission from user so it is not a security threat to user).

I have done similar thing on Blackberry/Symbian/Winmo and it is just one step process (clicking on the link downloads and runs the installer) so I thought there should be a way on android as well. Any help would be appreciated.

Regards

È stato utile?

Soluzione

Simple answer: No.

If you already have an application running on the user's device, you could register for a special URI and download and open the file yourself. Android itself does not have such an option (for obivous reasons).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top