How to whitelist installer package during kiosk mode/ lock task mode?

27
September 03, 2019, at 1:30 PM

I have created an kiosk application it has update functionality for other application within the device but the installer package is blocked. How to whitelist installer package?

I have tried whitelisting this installer package but it is not working. Maybe I'm missing an additional application to whitelist.

...//My other whitelisted apps
private static String INSTALLER_PACKAGE = "com.google.android.packageInstaller";
private static String[] APP_PACKAGES = { ..., INSTALLER_PACKAGE};
...
dpm.setLockTaskPackages(cn, active ? APP_PACKAGES : new String[]{});
READ ALSO
Send text as well as image to rest API server using retrofit in android

Send text as well as image to rest API server using retrofit in android

I'm trying to create an app which will send images and a text message to the server using retrofit

35
I/qtaguid: Tagging socket 36 -Volley library error -Android

I/qtaguid: Tagging socket 36 -Volley library error -Android

I googled a lot of times for this issue that I suffer but no article helped me to find a solution to this problem

57
Compile and Update Flutter's Dart Dart Virtual Machine with custom source code

Compile and Update Flutter's Dart Dart Virtual Machine with custom source code

We want to replicate the hot reloading functionality of Flutter but without having to interact with an editor's console but instead with a UIHow can we compile the flutter code and access the dart Virtual Machine manually to edit the source code that was changed...

26
i have this code to download images from url but it doesnt save images in storage . can anyone fix it for me please [on hold]

i have this code to download images from url but it doesnt save images in storage . can anyone fix it for me please [on hold]

i have this code to download images from url but it doesnt save images in storagecan anyone fix it for me please

34