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. ADC2 Application Entry: Frajalio Beta V0.1

Hello All,

Frajalio is my second ADC2 entry. I've just uploaded it to the Android
Market as a Free Reference application.

Below is a brief description:

An application that allows you to store a list of phrases in your
native language and their translations in a foreign language. It also
allows you to record the pronunciation in your native and foreign
language. You can share this list with other users. This will allow
you to learn almost any language in the world.
--~--~---------~--~----~------------~-------~--~----~

2. Log in to google account without browser?

Hi,

Im currently trying to combine android and google apps engine for a
real neat application, not unlike http://3banana.com/. However I want
to enable the user to login to his google account without opening the
browser. I have made some attempts to just simulate the http-posts
done, but to no avail. Are there any nice way of doing this google
account login in android code?

For example, to make my own loginscreen, and then send user/pass to
the google apps server and get an aknowledgement if the login
information was correct.
--~--~---------~--~----~------------~-------~--~----~

3. vold mounting non-mmc driver based disk

4. SoundPool bug

5. listview search

6. How the views are refreshed with new language selection?

7. Changing a Back button press to Home button press