Re: [android-developers] Re: How to open email in app with address

2011-03-01 Thread Kostya Vasilyev
Intent filtering does not consider extras when matching, EXTRA_EMAIL is only useful for specifying the recipient once you're in the target application. Using a mailto:; URI with with ACTION_VIEW or ACTION_SENDTO works well for me, and encoding various email parameters right in the URI seems

Re: [android-developers] Re: How to open email in app with address

2011-03-01 Thread brian purgert
Platamus on anddev had a short tutorial on it if you want to check it out. On Mar 1, 2011 4:40 AM, Kostya Vasilyev kmans...@gmail.com wrote: Intent filtering does not consider extras when matching, EXTRA_EMAIL is only useful for specifying the recipient once you're in the target application.

[android-developers] Re: How to open email in app with address

2011-02-28 Thread Peter Sinnott
How helpful. A lot of websites say to use ACTION_SEND but I found ACTION_SENDTO works better. Intent emailIntent = new Intent(android.content.Intent.ACTION_SENDTO); emailIntent.setData(Uri.parse(mailto:a...@b.com;)); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, A Subject ); On

Re: [android-developers] Re: How to open email in app with address

2011-02-28 Thread TreKing
On Mon, Feb 28, 2011 at 5:13 PM, Peter Sinnott psinn...@gmail.com wrote: A lot of websites say to use ACTION_SEND but I found ACTION_SENDTO works better. Curious: how does it work better? -

[android-developers] Re: How to open email in app with address

2011-02-28 Thread Peter Sinnott
Iirc SENDTO gave me mail and gmail as alternatives but SEND either didn't give me mail or gave me a multitude of options most of which were not email specific. On Feb 28, 11:18 pm, TreKing treking...@gmail.com wrote: On Mon, Feb 28, 2011 at 5:13 PM, Peter Sinnott psinn...@gmail.com wrote: A

Re: [android-developers] Re: How to open email in app with address

2011-02-28 Thread Justin Anderson
* How helpful.* If the OP isn't going to put much time into the question (i.e. doing some stuff to try to figure it out first... such as doing a google search, looking at docs, etc..) then I'm not going to put much time in the answer. On Mon, Feb 28, 2011 at 4:30 PM, Peter Sinnott

Re: [android-developers] Re: How to open email in app with address

2011-02-28 Thread TreKing
On Mon, Feb 28, 2011 at 5:30 PM, Peter Sinnott psinn...@gmail.com wrote: Iirc SENDTO gave me mail and gmail as alternatives but SEND either didn't give me mail or gave me a multitude of options most of which were not email specific. Ah. If that way works, no point in changing, but FYI, I