Hi, My question is quite simple, how to read the data from the GMail content provider. I can get the notify of changes in the GMail database by registering a ContentObserver for content://gmail-ls uri. Then I've been trying to read the following tables content://gmail-ls/messages and content://gmail-ls/unread/^i. But the Cursor that they return is always null.
I also tried to register a broadcastReceiver with IntentFilter with Intent.ACTION_PROVIDER_CHANGED because the documentation says that GMail content provider broadcasts that intent, but the onReceive() method in the BroadcastReceiver is never called. Gmail.java can be found e.g. here http://www.google.co.in/codesearch/p?hl=en#uX1GffpyOZk/core/java/android/provider/Gmail.java&q=gmail.java I searched the mailing list and found several similar questions but no answers. So any other ideas?? -Mika --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---