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. Ga bisa download dari market setelah di root! apa ada pengaruhnya?

om mau tanya....

saya pengguna HTC MAGIC 32A

kenapa saya abis root,ko ga bs download dari market yah?

apa ngaruh?

apa harus ada yang di setting?

udh di reset....

udah coba via wifi dan juga udh coba via APN,tapi terus aja starting
download,tapi ga download...

coba download dari i-music lancar download lagu,tapi download dari
market ga bisa....

saya di Root minggu kemaren kurang lebih,tapi baru dicoba hari ini....

kenapa yah?

apa ada yang harus di setting ulang?

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

2. How to customize onscreen keyboard? Please help!

Hi All!

I need to hide all keys except numbers, point and dash and change the
dash behaviour.

Unfortunately attribute android:inputType="number|numberSigned|
numberDecimal" doesn't hide @, #, $ etc. keys.

How can I customize the soft keyboard view? I actually need to show
and react to my custom view. What is is the fast and right way to
implement it?

Please advise some example or code snippets helps to move forward.

Thanks in advance,
Evgeny

-- 

3. Ask Sopwer

4. Unexpected MEDIA_BUTTON action broadcasting when unplugging headset

5. Use of intents

6. How to control alsa's volume

7. Android Database