-2

Is appliction able to open camera? Is it able to open bluetooth? Is it able to open microphone?

Thanks!

Daniel Compton
  • 13,878
  • 4
  • 40
  • 60

2 Answers2

0

I think you should check up on the receiver. When call received the receiver fires the intent or something if I am not mistaken , so you need to import the i.telephony , so that you can check the phone state , it will allow you to override the function when ever your phone is going to call or receiving call.

ghost talker
  • 402
  • 5
  • 15
-1
PackageManager.checkPermission(String permName, String pkgName); 

I think this get the permissions info of app. Use package name and permission name.

mertyildiran
  • 6,477
  • 5
  • 32
  • 55