*Any one want a FREE website or word press blog set up?
if you join my hosting!*
Email me at *[email protected]*

On Fri, May 28, 2010 at 10:19 AM, Pinheiro <[email protected]> wrote:

> I was trying to delete a contact using the code in  the docs:
>
> ArrayList<ContentProviderOperation> ops = Lists.newArrayList();
>  ops.add(ContentProviderOperation.newDelete(Data.CONTENT_URI)
>          .withSelection(Data._ID + "=?", new String[]
> {String.valueOf(dataId)})
>          .build());
>  getContentResolver().applyBatch(ContactsContract.AUTHORITY, ops);
>
> But Eclipse doesn't how to find  "Lists". What import statement do I
> need?
>
> Also, is there a more direct way to delete a contact? Thanks in
> advance!
>
> --
> 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