Hi I\'m facing a little problem here. For updates of my App (that isn\'t available in Play Store) I download it via DownloadManager
to the Donwload directoryof
Yeah, well... kinda stupid..
promptInstall.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "/download/myApp.apk")),
"application/vnd.android.package-archive");
just affects the way android want to open the file..
DownloadManager.Request r = new DownloadManager.Request(mUri);
r.setMimeType("application/vnd.android.package-archive");
will do it...