Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Send SMS / MMS / Mail with predefined text ?

Is it possible to send a predefined SMS or MMS or Mail with a predefined text ?

Thank !

— asked September 27th 2010 by MILLET Alexandre

3 Answers

  • Accepted Answer

    As of now, it is not possible.

    A way to get around this, however, is to make a text area and tell the user to copy the text, click on a button opening an empty sms (Ti.Platform.openURL("sms:_");), and then pasting.

    That's, as far as I'm concerned, the only way to do such thing.

    — answered September 27th 2010 by Caspar Jespersen
    1 Comment
    • The only problem with this is that you can only pass the number but not auto fill the message. :(

      — commented January 31st 2012 by Rafael Cardoso
  • SMS / MMS - Nope. Not programmatically possible with Titanium. I'm hoping that 1.5.0 will give us the ability to, but I'm not too sure :(

    Email - Yep. Simply use the EmailDialog API.

    — answered September 27th 2010 by Colton Arabsky
  • https://github.com/omorandi/TiSMSDialog

    — answered July 19th 2011 by Scott Owens
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.