1

For example, I'm developing an app "A", and I want to use some codes in "A" to tell me if another app "B" has asked for "RECORD_AUDIO" permission in its manifest?

Who can give me those codes? Thank you very much!

  • 1
    You can use PackageManager. Take a look here http://stackoverflow.com/questions/4386823/how-to-get-manifest-permissions-of-any-installed-android-app – nikis Feb 16 '14 at 08:17

1 Answers1

1

Use getPackageManager().getPackageInfo() to get a PackageInfo object, from which you can get the permissions.

Dheeraj Vepakomma
  • 26,870
  • 17
  • 81
  • 104