seguetester wrote:
>> So, how can I build the functionality to monitor all incoming mail and
>> if I receive a message with a specifically named attachment that has
>> the expected MIME type, automatically save the attachment so that my
>> app can process it?

That's not possible, for patently obvious security reasons.

You can arrange to be the handler of a specific MIME type, but the user
will have to open the attachment manually, using whatever mail client
they are using. Or, if the user is willing to dedicate a separate email
account to you, you could fetch the messages yourself using a POP3/IMAP
client library (e.g., JavaMail).

> 1) Ideally, I would like every email scanned and the attachments
> automatically picked up when they arrive if the meet the name and MIME
> conditions

That will only be possible if you are retrieving the email yourself via
a POP3/IMAP client library.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to