Hello Every one,
Thanks for your reply,
i thank all for helping me,
Thanks.
Shiva
On Tuesday, July 30, 2013 11:57:49 PM UTC+5:30, shiva pendem wrote:
>
> HI everyone,
>
>
> i am making an application to get the name of the contact no saved on the
> mobile.
>
> i am using the following code
>
>
Yeah, that was just me being dumb and writing up a quick response
without thinking while working on other things. Piren's solution is
the obvious thing to do: you don't really want to cache hundreds of
contacts and you'd end up writing your own implementation of what the
lookup's already doing any
was wondering how you've missed that ;-)
On Wednesday, July 31, 2013 3:18:28 PM UTC+3, Kristopher Micinski wrote:
>
> Heh, this is also a good point, I was dumb not to point the OP in that
> direction sooner :-)
>
>
> On Wed, Jul 31, 2013 at 2:59 AM, Piren >
> wrote:
> > what the hell? why are
Heh, this is also a good point, I was dumb not to point the OP in that
direction sooner :-)
On Wed, Jul 31, 2013 at 2:59 AM, Piren wrote:
> what the hell? why are you scanning the entire DB and in such a bad fashion?
> You do know that the reason there's a ContentResolver is for you to run
> que
what the hell? why are you scanning the entire DB and in such a bad
fashion?
You do know that the reason there's a ContentResolver is for you to run
queries right?
http://developer.android.com/reference/android/provider/ContactsContract.PhoneLookup.html
You'll get the result instantly.
On Tu
5 matches
Mail list logo