I am trying to connect external fingerprint scanner to the Android application which is in Kiosk mode(Android COSU).
A system dialog should be displayed to ask for the permissions in order to access the fingerprint scanner. However, In kiosk mode, I cannot see any System dialogs showing up.
Is there a way where I can display system dialogs in Kiosk mode?
Edit: I am able to access Runtime permission dialogs but not Finer print authentication dialog. So, I guess there is some issue only with the USB permission dialog.
Related
I have been given the task to get some android tablets (SM-T500) working in kiosk mode (soti mobicontrol).
The issue is when they are in kiosk mode it blocks the USB switcher menu and the allow access to tablet data popup
I have managed to get the USB switcher menu working by allowing com.android.settings/.Settings$UsbDetailsActivity to launch but for the life of me I cannot workout what apk strand that controls the "Allow access to tablet data" security dialog box
I am new to android and usually only work with ios.... would anybody be able to point me in the right direction??
Working with Soti we have found the activity that runs this popup message is com.samsung.android.MtpApplication/.USBConnection - allowing this to the whitelist allowed it through the kiosk mode (just in case anyone falls into the same black hole i did)
We have our own rooted hardware device with android OS 7.0
We are building an app for that device. We have to restrict the users to performing some of the actions who will purchase that device. Here are the list of actions We want user to be restricted to perform on the device through the app.
Stop installing/uninstalling any other apps from OS.
On/off wifi
Pair Bluetooth
Change wallpaper
Basic idea behind is to make an app which will be the system app and will restrict user from the things mentioned above.
Is this possible to make such app? Looking for help in any of the above tasks. Thanks
Shor answer: NO.
Here is why;
The Android operation System is based on permissions, and no app can restrict that actions even with the users' permission. The reason for this is because of the Android App Layer that provides all the capabilities you described above.
The only way you can do such thing is to Customize the ROM of the CellPhone. In this case, you can override the functions that allow the user to use such services.
So I have an application that is pinned to the device with startLockTask command and it has several restrictions so the user cannot escape from the application or change settings of the device.
However, the user should be able to transfer files from the device to a computer via USB, but when the device is connected to a "new" PC, the USB permission dialog: Allow access to device data is not shown because of the LockTask mode.
Is there any way to open that dialog in front of my application?
Faced the same problem today,
in my case I solved it by adding com.android.systemui package, while adding my whitelist application's in setLockTaskPackages DPM's method.
After this I can see the dialogue which was blocking up in LockTask mode.
when I want to connect a Bluetooth device I have to turn on the visibility of my device.
Is there a possibility to prevent the dialog which asks for permission to start visibility for a given time?
It should only start and not ask for permission.
Thanks for your help;)
Its a security mechanism of android. You cant remove it. But you can pair your devices, this causes that the dialogue isnt shown anymore.
I need source code in install/uninstall application without user interaction like it will uninstall in background in non rooted android device. No user interaction .Silent uninstall/install android application.
It can't be done. App must display the permissions it require to the user before installing on the device.