Get the two cursors(sorted by something) and then get the difference in
n*logn time.

On Wed, Aug 25, 2010 at 8:10 AM, Vibhor Mahajan <mahajan.vib...@gmail.com>wrote:

> Hello All,
>
> My application maintains its own contact database(localcontacts.db).
> This database is subset of Android phone contacts database (People  or
> ContactsContract).
>
> I want to display list of contact names from People database but not
> in my application contact database (localcontacts.db). Getting cursor
> from both databases and checking each element in my local database
> will be an expensive operation.
>
> Kindly suggest the best way to do this task.
>
> Regards,
> Vibhor
>
> --
> 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




-- 
When I raise my flashing sword, and my hand takes hold on judgment, I will
take vengeance upon mine enemies, and I will repay those who haze me. Oh,
Lord, raise me to Thy right hand and count me among Thy saints.

-- 
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