Does your app request permission to write to contacts?

On Feb 17, 2010 4:11 AM, "LeGeNDuS" <[email protected]> wrote:

Hello, I'm trying this code and it's getting stopped in the
getContentResolver statement....

       ContentValues values = new ContentValues();
       values.put(People.NAME, "hola");
       Uri uri = getContentResolver().insert(People.CONTENT_URI,
values);

What am I  doing bad?

Thanks!

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

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

Reply via email to