I finally got it figured out (thanks Beth):

                                        @Override
                        public void onItemClick(AdapterView<?> arg0, View arg1, 
int
position,
                                        long id) {

                                String name = ContactNameList.get(position);
                                String strID = ContactIDList.get(position);
                                String strLKP = ContactLookupList.get(position);
                                Uri contactUri = 
ContactsContract.Contacts.getLookupUri
(Long.parseLong(strID), strLKP);
                                Intent intent = new 
Intent(Intent.ACTION_VIEW,contactUri);
                                startActivity(intent);
                        }

On Feb 1, 10:30 pm, andrew android <andygoldm...@gmail.com> wrote:
> Bump:)
>
> On Feb 1, 5:02 am,andrewandroid <andygoldm...@gmail.com> wrote:
>
>
>
> > Could you help give some example? Some Example how you use it?
> > Thanks!
>
> > On Jan 31, 8:34 pm, Dmitri Plotnikov (▯▯▯▯)  <dplotni...@google.com>
> > wrote:
>
> > > You don't need to create it.  It is column on the Contacts table. There is
> > > also a conenience method on Contacts that will retrieve it for you.
>
> > > On Jan 31, 2010 3:43 PM, "andrewandroid" <andygoldm...@gmail.com> wrote:
>
> > > Please tell me, though, how do you create a lookup key?  Can you give
> > > or point me to a good example?
>
> > > On Jan 31, 12:47 pm, Dmitri Plotnikov (▯▯▯▯)  <dplotni...@google.com>
> > > wrote:
>
> > > > Contact IDs are volatile, they often change as a result of aggregation.
> > >  You
> > > > need to store the l...
> > > > On Jan 31, 2010 9:42 AM, "andrewandroid" <andygoldm...@gmail.com> wrote:
>
> > > > I am having a proble...
> > > >android-developers+unsubscr...@googlegroups.com<android-developers%2Bunsub­s
> > > > cr...@googlegroups.com><android-developers%2Bunsubs
>
> > > cr...@googlegroups.com>> For more options, visit this group athttp://
>
> > > groups.google.com/group/android-developers?hl=en
>
> > > --
>
> > > You received this message because you are subscribed to the Google
> > > Groups "AndroidDevelopers" group...- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

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