I made this with help from Android download binary file problems and Install Application programmatically on Android. I want to make auto-update and auto-install at once. It is local so it's non-market application. Here is my code for it: public void Update(String apkurl){ try { URL url = new URL(apkurl); HttpURLConnection c = (HttpURLConnection) url.openConnection(); c.setRequestMethod("GET"); c.