I would like to add the ability to send SMS and email from my application. I have found conflicting information on how to do this, and my tests on just the emulator haven't helped much.
I created a small sample application that has two buttons. One tries to launch a send activity using text/plain mime type, and the other message/rfc822 mime type. On the emulator with all the default software, all these do is pop up a dialog that says No application can perform this action. If I install K-9 and configure it, trying the text/plain button starts a new mail message in K-9.
Do either of the buttons let you choose an application to use for sending? If so, could you upload a screenshot?
Can you send SMS and email?
Your message should initialize with "My Subject Line" as the subject, and it should have two lines of content:
First line
Second line
Does it work like this for you? Both in SMS and email?
I have attached both the apk and source tarballs. If you notice any problems with the code, please let me know.



