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. Logcat help needed from Desire/Incredible users

Hi Desire/incredible users,

I have an app called. smart taskbar, in Android market. So far, I'v
received feedback from Desire and Incredible users about unable to
drag the mini taskbar out from the screen. However, the slide and pop
out works when screen is placed in horizontal orientation. Can someone
help to post logcat of smart taskbar? Especially try to play around
with the slide feature in logcat for better debug info. Million
Thanks!

-- 

2. Porting question about the surface manager on DirectFB

Hi,

I need to try to port the surface manager/renderer on DirectFB in order to include an Android Executive layer within an embedded linux distribution managed by sawman. I know ... this is not really the best way to proceed but this is just a proof of concept. What is the best way to do it and of course is it possible (i think so) ? Thanks for your reply. Regards Thierry Gayet --

3. emulate mouse

4. Detecting signal quality

5. Drawing a bitmap to Canvas every frame - supposed to be slow?

6. How to get the point from click the google map

7. scrollble text view with buttons