On Sun, Jan 29, 2012 at 3:28 PM, Jim McGivney <[email protected]> wrote:
> NewBee question here.
> I receive an email on my Android Device.  I want to be able to use
> information (data) from the email in my App.  Where do I place the
> data so that my app can access the data?

If by "from the email" you mean "attachment", you can create an activity with an
<intent-filter> that tries to respond when the user tries to view the
attachment. Since MIME types with email attachments are often
unreliable for non-standard files, you will probably need to use
android:pathPattern in your filter's <data> element, which has its own
set of issues IIRC.

If by "from the email" you mean "from the email's message body", come
up with another solution for
getting data to your app, such as by using a Web service.

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

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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