How to receive Email/Gmail programaticall

by Jiang » Fri, 13 Mar 2009 15:07:38 GMT


Sponsored Links
 Hello, Guys,
I need to read all Email and Gmail, then remove the specific one(s). But I 
found Android doesn't provide APIs to receive Email, and I read Gmail failed as 
following:
ContentResolver resolver = getContentResolver();
Uri uriGmail = Uri.parse("content://gmail/");
Cursor cursor = resolver.query(uriGmail, null, null, null, null);
.................
function resolver.query(xxx) returns null;

how can I implement those features? Thanks a lot.

BR,
-Jiang




      ___________________________________________________________ 
  
 http://card.mail.cn.yahoo.com/ 
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Samsung Galaxy Spica Putih 2n

Salam All,

Om Mod; permisi jalurnya ya .. Sabtu boleh wts kan :)

Mau dilepas nih Spica Putih 2nd; pembelian Maret 2010. Udah di upgrade ke
2.1 (JCE) + Samdroid 1.0.3.

Komplit dengan box dan segala pernak-perniknya. Udah pake screen protector.
Mau lepas Rp. 2.2jt COD aja yah di daerah Jakarta due south .. daerah
Bintaro, Cilandak, PIM dll.

Lepas karena udah puas utak utik .. mo coba2 yg lain ;)

Minat? JAPRI aja ya; atau call/text ke 0816 1943 686

Regards,
Yasin

-- 
"Indonesian Android Community [id-android]" 

2. When will there be an updated firmware version of Android for the LG GT540 (Optimus)?

Hi.

I have an LG GT540 phone with Android version 1.6. I would love to update it to Android 2.x to have access to all the new features it offers (e.g., faster Flash, Firefox Mobile). Can someone please tell me when there will be an updated firmware version of Android for the LG GT540 (Optimus) (1.6 -> 2.x)? Also, is there a simple and safe way to update Android with Google's version myself? -- Regards, Peter Lairo The browser you can trust: www.Firefox.com Reclaim Your Inbox: www.GetThunderbird.com Islam: http://www.jihadwatch.org/islam101/ Israel: http://www.jewishvirtuallibrary.org/jsource/myths2/ Church of the Flying Spaghetti Monster: http://www.venganza.org/ Anthropogenic Global Warming skepsis: http://tinyurl.com/AGW-Skepsis --

3. Oot: mirdak bandung

4. Which development kit ?

5. Bluetooth pairing problem

6. Can't mark errors as old in the market developer console

7. How to handle SCREEN_OFF/_ON intents