Can you send a SMS on Andriod?

You must Login before you can answer or comment on any questions.

Hi Folks. I know this cant be done on iOs, but is it possible to send an SMS message from a Ti app?

Many Thanks. Jason.

2 Answers

I havent found a way to send an sms from an app. But using the following call will pass the phone number and open up the SMS window for you

var PhoneNum  = '555111234';
Titanium.Platform.openURL('sms:'+ PhoneNum);
If it was an Iphone app you were querying, there is an SMS module (http://www.appcelerator.com/products/titaniumplus/) where you can have the ability to create SMS from within your app.

Sadly still only for iPhone and not Android. Might we worth checking with the appCelerator people if there is a beta for Android tho.

Harald

— answered 2 years ago by Harald Sakshaug
answer permalink
2 Comments
  • thats funny because within native java you can basically read out someones contacts and send sms to everyone without even asking the user. based on how easy and open it is i wonder why there is no Ti implementation...

    — commented 2 years ago by Tobias O.

  • If that is the case, then you could just make a java module for android to extend titanium.

    — commented 2 years ago by Doug Handy

Hi.

Thanks Harald. Yeah the Ti Plus looks interesting.

I think Android is getting left behind by appcelerator, things like this can be done in Google's App Inventor toy.

Argh!

Your Answer

Think you can help? Login to answer this question!