Saturday, June 16, 2012

[android-developers] Issue in using a permission which is defined by an app which gets installed after my app?

Hi,

I'm facing an issue where my app is using a permission(using <use-permission> tag) which is defined by a different app. The problem is that this app where this permission string is defined may get installed after my app and due to this I'm getting Security permission and permission is not granted.

So please let me know how can I resolve this issue. One workaround I found is to define the same permission string in my app also.

So my manifest file will contain both <permission> and <use-permission> tag for the same permission string. Is it ok to define permission of a different app in our manifest file? Or is there any better way to tackle this issue?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate