Skip to content
Advertisement

Tag: startactivityforresult

ACTION_MANAGE_UNKNOWN_APP_SOURCES: startActivityForResult() or startActivity()?

I’m following these tree examples where is showed how request permission to install an app from an unknown source: How to manage installation from Unknown Sources in Android Oreo? How to use PackageManager canRequestPackageInstalls in Android Oreo? Android 8 unknown source app installation When i tested with startActivityForResult(), onActivityResult() never was called when i enable or disable (on switch widget).

Advertisement