APK Installer | Install Unknown apps | Android Permission |

Recently i try to Create a app APK FIle Install for Direct App

But Need Some Android Permission to get Any APK file Install form Storage

i also try to create a extension to get Install APK File form URI

My Extension is Working but its only Support in SDK 21 Android Lolipop 5.1

Not Support in Latest Android SDK27 Android Oreo 8.0

How Can i Fix this !

my APK installer extension used this code

<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />

try {
    uri = Uri.fromFile(new File(Environment.getExternalStorageDirectory()+"/"+ filename));
    intent = new Intent("android.intent.action.VIEW", uri);
    intent.setDataAndType(uri, "application/vnd.android.package-archive");
     this.activity.startActivityForResult(intent, 0);
     } catch (Throwable e) {
     Toast.makeText(this.activity, "FIle Not Available ", 0).show();
     }

.

1 Like

Bro in you vpn extension make option about supress toast because we dont want that toast message every time

1 Like

I tried the extension, it seemed useful, but if you put a package name, the extension does not work

2 Likes