3

My approach is simple, I have an APK hosted on my site and when the user completes the download I would like to present the installation wizard instead of having to look for the file in downloads or even using a file manager for older devices etc.

Is that possible to be achieved for non-PlayStore apps?

Has anybody done this before? Could you shed some light please?

Thanks in advance

1 Answers1

2

Unfortunately that functionality is handled by the user's browser, and none automatically install apks (and right so, as that would lead to many malware).

Evripidis Drakos
  • 872
  • 1
  • 7
  • 15
  • I don't want it to install without the user's intervention I just want the installer to popup and not have to browse the file which is not practical for so many users. Any suggestion? – Julio Correia Feb 25 '15 at 16:14
  • as I said, that is the user's browser decision: what to do with a file the user downloads. There might be android browsers out there that let the user run/open the file immediately or the user might have a download manager that does that but I wouldn't count on it. – Evripidis Drakos Feb 25 '15 at 16:18
  • Fair enough, however once you have the app you can treat new updates and then fire up the installer right? At least this is what I get from some forums. Thanks for your help though. – Julio Correia Feb 25 '15 at 16:52
  • if the app is not in play store, for updates, you will have to manually implement that functionality on your app. As an example, after a quich search i found this: http://stackoverflow.com/questions/4967669/android-install-apk-programmatically – Evripidis Drakos Feb 26 '15 at 09:40