Does your app request permission to write to contacts?

On Feb 17, 2010 4:11 AM, "LeGeNDuS" <legen...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to