For the purposes of simple download of file from app, I wrote the following function: private void Download (String url, String packageName) { int count; try { java.net.URL url1 = new java.net.URL(url); URLConnection conexion = url1.openConnection(); conexion.connect(); // this will be useful so that you can show a tipical 0-100% progress bar int lenghtOfFile =… Continue reading Download and install apk files from app in Android