Hi, all

in android 1.5 or android 1.6, I use the below code to select a
contact by phone number

                        Intent intent = new Intent(Intent.ACTION_PICK,
                                        Contacts.Phones.CONTENT_URI);
                        startActivityForResult(intent, Utils.PICK_CONTACT);

But in the android 2.0, the system contact intent says that I don't
have any contacts.  I find that Contacts.Phones.CONTENT_URI is
deprecated in android 2.0, and the docs says that "These APIs continue
to work but will only return data for the first Google account
created, which matches the original behavior." what does it mean?

any ideas? thanks

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