Install update in android app from my website

view story

http://stackoverflow.com – I am currently checking the application version in background every 24 hours once in my web server not in android market. If update available that it prompt the user to download the new apk. Uri uri = Uri.parse(downloadURL); Intent intent = new Intent(Intent.ACTION_VIEW,uri); startActivity(intent); The above code open the user browser and start downloading. I want without opening the browser i need to download the apk file or i need to install the latest apk directly without opening and other application (like browser) (HowTos)