Download, Install and Delete the Apk programmatically?
I'm making an Android App where the requirement is to place the apk on the website from where the user can able to download it after finishing the download it will automatically install the app. Once the Installation finished it should automatically delete the apk from the device. In the same manner when someone download the app from Google Play. It will be appreciated if you give me a step by step approach, it would be good for me to understand the logic cleary as i'm new to Android Programming.
Please help me on this situation!
Thanks in Advance!!!!!