Android Permission Issue android.permission.READ_CONTACTS

Posted by jkmcgee on Stack Overflow See other posts from Stack Overflow or by jkmcgee
Published on 2010-02-22T19:39:05Z Indexed on 2010/04/12 18:32 UTC
Read the original article Hit count: 902

Filed under:
|

Hello, All I am trying to do is read a contact off of my emulator and display it to the screen. I can't seem to resolve this error. Both of my packages (com.msi.ibm.tutorial and .MobileServiceCallContacts) have the permission READ_CONTACTS set in their manifest xml files.

So any ideas as to what I've got wrong ?

Here is the error message from eclipse console if it helps, it's not helping me, but I'm a little rusty at this and completely new to Android development.

MobileServiceCallContacts]Starting activity com.msi.ibm.tutorial.MobileServiceCallContacts on device 
MobileServiceCallContacts]ActivityManager: Starting: Intent { cmp=com.msi.ibm.tutorial/.MobileServiceCallContacts }
MobileServiceCallContacts]ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.msi.ibm.tutorial/.MobileServiceCallContacts } from null (pid=-1, uid=-1) requires android.permission.READ_CONTACTS

© Stack Overflow or respective owner

Related posts about android

Related posts about eclipse