Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
cloooned
Posts: 5
Registered: ‎01-11-2013
My Device: None

BB10 detect permission of running process

Hi,

 

Is it possible to detect the permissions of any running process in the background. E.g. if there is an audio recording app running and it has access to the microphone?

 

Best regards,

Cloooned

Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: BB10 detect permission of running process

If you mean detecting the permissions of other apps, then no, it is not possible using any documented API. Apps are strictly sandboxed and can see almost nothing about each other, aside from the name of the the other sandbox folders and, in some cases, the public icon file. You can't even get any sort of listing of which other processes are running.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.