Get count of email messages in Email app

by klavin » Thu, 07 Oct 2010 07:28:09 GMT


Sponsored Links
 I'd like to get access to the data stored in the default Email app.
I'd like to find out what accounts are associated with the App, and
for each account, what folders are associated with the account, and
for each folder how many emails are in that folder. I need this
information on 2.1 and 1.5.
I see the AccountManager in 2.1 can give me some of the accounts
configured, but in the Email app you can also add accounts which don't
show up in the AccountManager. How do you get access to the accounts
configured in the Email app.
I'd like to be able to programmatically deleted emails in the users
folders. Are the emails stored in a content Provider? If so whats the
URI.
Any help would be much appreciated.

--



Get count of email messages in Email app

by klavin » Thu, 07 Oct 2010 07:30:35 GMT


 I'd like to get access to the data stored in the default Email app.
I'd like to find out what accounts are associated with the App, and
for each account, what folders are associated with the account, and
for each folder how many emails are in that folder. I need this
information on 2.1 and 1.5.
I see the AccountManager in 2.1 can give me some of the accounts
configured, but in the Email app you can also add accounts which don't
show up in the AccountManager. How do you get access to the accounts
configured in the Email app.
I'd like to be able to programmatically deleted emails in the users
folders. Are the emails stored in a content Provider? If so whats the
URI.
Any help would be much appreciated.

--


Sponsored Links


Get count of email messages in Email app

by Kumar Bibek » Thu, 07 Oct 2010 13:34:57 GMT


 You cannot do all of these yet. the content provider for the mail app
doesn't publish or give permissions for other apps to access it's data,
well, not all of it's data....

Deleting mails is not possible.
Getting unread counts is also not possible.




>



Get count of email messages in Email app

by Kumar Bibek » Thu, 07 Oct 2010 13:43:24 GMT


 Not possible.




>



Other Threads

1. youtube videos using google api client library

Hi All,

Has anybody successfully used google api client youtube jar file?

I am not getting playlist associated with specific user.

Can anybody give me sample source as such?

-- 

2. Network I/O in background thread

Hi,

Is it possible to trigger periodic network I/O from a pocess, who is
currently in background. And in my case it is possible that none of
activiy is in foreground at the time when network i/o is requested.
This I/O is client driven.

Thanks in advance
-Amit

-- 

3. NFC Concerns

4. USING ECRYPTFS IN ANDROID

5. Coba Keyboard MultiLing dengan Bahasa Indonesia plugin.

6. about the market 15 minutes refund window

7. Emulator crashing with System Tools rev 9