Yes. But I figured it out. If I mount the device after plugged in through USB, it won't be able to query. After I disconnect and then reconnect the phone without mount the drive, i can get this to work.
On Apr 12, 6:10 pm, Marco Nelissen <[email protected]> wrote: > Is there an sd card in the phone? > > On Sun, Apr 12, 2009 at 5:24 PM, [email protected] <[email protected]> wrote: > > > This code works fine with the emulator, I can get a cursor to all the > > images, but after I installed the app into the real device (G1), I ran > > the app, this call returns null. If I change from EXTERNAL_CONTENT_URI > > to INTERNAL_CONTENT_URI, at least it returns not null cursor and the > > count is 0. > > > Anything I should do to get this to work? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

