MMS or SMS with Titanium?
I was just wondering if it was possible to create a SMS or MMS (Text Message / Media Message) via Titanium 1.4? I know that Emails are possible, but I would really like to be able to switch to the "Messages" app and send a SMS/MMS via my Application.
2 Answers
-
Accepted Answer
From your app you should be able to open the SMS text message app, but there's no programmatic means of sending a text message but there's an example of this in the Kitchen Sink, something like
Ti.Platform.openURL('sms: 8019161980').check in kithcsink examples platform.js
b.addEventListener('click', function()
{
switch(openURL)
{
case 0:
{
Titanium.Platform.openURL('http://www.google.com');
b.title='Open URL (web)';
openURL++;
break;
}
case 1:
{
Titanium.Platform.openURL('tel:4043332222');
b.title='Open URL (tel)';
openURL++;
break;
}
case 2:
{
Titanium.Platform.openURL('sms:4043332222');
b.title='Open URL (sms)';
openURL=0;
break;
}}
});
-
nope, not currently