Well, if you've downloaded the source, you should be pretty close to what you need.
Look for an adapter that looks up contacts using a ContentResolver, and is set up to work with an AutoCompleteTextView. Once you found it, copy the code into your project, and tweak it if necessary. -- Kostya 2011/6/10 MOHIT SHARMA <[email protected]> > Thanx Kostya a lot . Its very helpfull even i wanted the same .( actually > i want to use messaging app) . I have downloaded the code for messaging > application form git . Now i want the documentation for the same so that i > get suitable code . Can please help . > > I want the code for searching contacts . > > > On Fri, Jun 10, 2011 at 19:11, Kostya Vasilyev <[email protected]> wrote: > >> Take a look at the email application source - it has adapters for doing >> exactly this (it uses a MultiAutoCompleteTextView, but the adapter should be >> the same). >> >> Both pre- and post- 2.0 versions are available in the repository. >> >> -- Kostya >> >> 2011/6/10 MOHIT SHARMA <[email protected]> >> >>> Thanx for your reply and sorry for being clear . Actually i want a look >>> for contacts as shown in figure . >>> I have already seen autocomplete textView , but its of no use as i have >>> write query for getting phone no and name .. which i dnt want unless its the >>> last option. >>> >>> >>> On Fri, Jun 10, 2011 at 17:00, Kostya Vasilyev <[email protected]>wrote: >>> >>>> That appears to be an AutoCompleteTextView: >>>> >>>> >>>> http://developer.android.com/reference/android/widget/AutoCompleteTextView.html >>>> >>>> -- Kostya >>>> >>>> 2011/6/10 Pepijn Van Eeckhoudt <[email protected]> >>>> >>>>> Have a look at the 'Search' documentation ( >>>>> http://developer.android.com/guide/topics/search/index.html). Not >>>>> exactly what you're trying to do, but it's close enough that it should >>>>> give >>>>> you some inspiration. >>>>> >>>>> Pepijn >>>>> >>>>> >>>>> On 10/06/2011 11:21, MOHIT SHARMA wrote: >>>>> >>>>> Hi , >>>>> Can anybody tell , how create a lookup , example or tutorial will be >>>>> helpful .[image: screenshot1.PNG] >>>>> -- >>>>> 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 >>>>> >>>>> >>>>> -- >>>>> 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 >>>>> >>>> >>>> -- >>>> 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 >>>> >>> >>> -- >>> 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 >>> >> >> -- >> 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 >> > > -- > 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 > -- 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
<<image/png>>

