Then it has to be an emulator issue, because the test passes fine on Droid.

See if you can read the phone number using the plain Data.CONTENT_URI API.
If you can, the issue is indeed with the lookup URI.

On Dec 5, 2009 8:37 AM, "ghassett" <greghass...@gmail.com> wrote:

Yes Dmitri, this is exactly what I am doing -- I am not manually
inserting records into the contacts db like the test case does, but
there is definitely a contact with a mobile phone number
"617939xxxx" (with real digits, not "x"s), and when I open a cursor on
the query:

Uri filterUri1 = Uri.withAppendedPath(Phones.CONTENT_FILTER_URL,
"617939xxxx"); // with real digits, not "x"s

I get back a valid cursor, but no rows (moveToFirst() returns false)
-- on 2.0 emulator only.  On 1.6 emulator, it works fine.

// greg //

On Dec 4, 7:21 pm, Dmitri Plotnikov <dplotni...@google.com> wrote: > Hi
Greg, > > Take a look at th...
> http://android.git.kernel.org/?p=platform/packages/providers/Contacts...

> > Is what it's doing correct? Is it different from what you are doing? > >
Thank you, > - Dmitri >...

> On Fri, Dec 4, 2009 at 4:00 PM, ghassett <greghass...@gmail.com> wrote: >
> Hi Dmitri -- I am not ...
--

You received this message because you are subscribed to the Google Groups
"Android Developers" group...

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