[android-developers] How to determine programmatically if a security permission is set
Hello,
I have a paid version of a program that will go to the contacts provider, but the free version doesn't.
So, in the manifest file I have it set for the paid app.
But, both versions go to the same function to use what was entered, as, if the data isn't a contact then the program calls a webservice.
Right now I just catch the SecurityException, and that works, but I am not happy with this solution, and I am curious if there is a better way.
"I know that you believe you understand what you think I said, but I'm not sure you realize that what you heard is not what I meant."
- Robert McCloskey
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