Android Question Permission to read contacts (screenshot)

Discussion in 'Android Questions' started by Beja, Mar 3, 2015.

  1. Beja

    Beja Expert Licensed User

    Some help with manifest editor
    Tried to use the ContactsUtils example in my project as inner activities.. I called the activity "Imported".
    The I tried to call it from my Main activity with: StartActivity(Imported).. and expected to go the contacts activity, but
    I got the following error >
    Please tell me what text (permission) should I add to the manifest.. thanks in advance.
    I must mention that the ContactsUtils example was and is, working fine when compiled alone.
     

    Attached Files:

  2. hbruno

    hbruno Member Licensed User

    Menu Project - Manifest Editor
    add at the end :
    AddPermission (android.permission.READ_CONTACTS)
     
    Beja likes this.
  3. Beja

    Beja Expert Licensed User

    you are absolutely right! thanks a lot
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice