Re: [android-developers] How to get all contact's name phone number, email for 2.0

2009-11-13 Thread Jeff Sharkey
Could you paste the exact query() that is returning empty for you? Since all data is now stored in a single table you should be able to query on Data.CONTENT_URI and filter by Data.MIMETYPE to match the two types you're looking for. j On Sun, Nov 8, 2009 at 7:52 PM, Henry

Re: [android-developers] How to get all contact's name phone number, email for 2.0

2009-11-13 Thread Rachel Blackman
On Nov 13, 2009, at 3:33 AM, Jeff Sharkey wrote: Could you paste the exact query() that is returning empty for you? Since all data is now stored in a single table you should be able to query on Data.CONTENT_URI and filter by Data.MIMETYPE to match the two types you're looking for. I

[android-developers] How to get all contact's name phone number, email for 2.0

2009-11-09 Thread Henry
For android 2.0, how to get a list of all contact's phone number and email? I have an app which works fine for 1.6. Now it is broken for 2.0 Droid. If you could point me an example to get all contact info, I really appreciate it. Previously, I used People.Contect_URI. now it is deprecated and