Explanation:
I have an application that is constantly made enough changes, and every time I do, I generate a new version with the same Private Key ( Keystore ), ie when I send the new < strong> *. APK install on the device no configuration is lost and the application is simply updated. So far so good.
Question:
However, I do not want the user to have to download a new * .APK on my site and later install every time I need to update it, make a "Refresh" button and when you click, download the new *. APK with a progress bar monitoring the end of the download for the device, and automatically install it, with another progress bar monitoring the end ( if it is not possible it can be an "ajax" that would be that progress that keeps spinning without forecast ), how should I do this?
Important detail:
I do not want to use Google Play to do this for me because some users who have my application can not use, for example, version 1.21, and only 1.20, others already can upgrade to version 1.21.
And also, I would not like the update to be performed automatically, since I need the user to finish all the services in your application before you can upgrade. And it should only refresh when prompted to click the button.