APK with automatic installation

Asked by At

Automatic installation of my app APK on user's device

I have an APK of my first app (i'm a student, it's our study project). I need to show it on some event and i don't want to put it on google store yet or at all. I need to provide a QR code to installation. I can store the APK on my server and provide a QR for link to download the APK, but it just downloads it and don't start the installation. How can i make the installation start automatically?

PS. I need the apk file be autorunnable. For example, if I send it by whatsapp, clicking on the file will download it and start the installation. Whatsapp does 2 things - downloads it and opens the downloaded. How can i do it with something, that i can provide to users as a regular link?

2 Answers

V Adhi Pragantha On

I don't think it is possible on normal android OS, if it is possible, there will be enormous threat we should dealing with.seems like virus to me in old windows day.

what can be possible is: 1. create another app, call this app downloader 2. give this app permission to access package manager 3. upload your apk, download with downloaded app 4. install

another reference: Install an apk file from command prompt?

Kuruchy On

Try Google Drive as a way to store it, then if you have the Google Drive App installed on the device, as it has permissions to install apps, maybe it works.