This thread addressed this issue:
How to get the icon for an Android permission?
However I don’t see in it the ultimate solution. The code that is in this thread always returns ‘o’ for the icon and UNKNOWN for the group in order to get the icon.
I know it must still be possible as I see other Android applications “phone, contacts” displaying the icon. Also when I request a permission there is an icon in the alertDialog. Just don’t know how to resolve it.
Anyone else trying to do this?
RLB
I’ve tried the examples in code and other ways to retrieve icons from other activities but for permissions I can’t get it to work or figure out how to get the drawable resource.