App crashing on accessing camera on Zebra non gms MDM device.

Hi,
I am having issues on Zebra non GMS MDM devices.The camera access is blocked which is causing the application crash, any way to check if the access is blocked.

Darryn Campbell
This is TC56 from your tags

This is TC56 from your tags but which MDM is this?  And which version of Android?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


ambadas chaudhari
Zebra EMM

STAge now. This is zebra Enterprise Mobility Management (EMM) Tool Kit and android version is 7.2

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Darryn Campbell
I believe StageNow is calling

I believe StageNow is calling the Android package manager APIs underneath so you should be able to test if the application is enabled via getApplicationInfo(), https://stackoverflow.com/questions/11538431/how-to-know-if-application-is-disabled-in-android-ics, though I haven't personally tested it. 

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


ambadas chaudhari
I will test

I will test by entering the camera id, will let you know

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments