PDA

View Full Version : It is possible to send SMS Messages from a Sencha Touch App?



alexbariv
26 Apr 2011, 1:24 PM
Grettings.

I have a requirement of an application that integrates with an Android Phone and Send and SMS Message from the application putting some params in there.

So, the sencha touch part will get the information and phone number to send a message.

It is this possible with this framework?

Thanks in advance.

preyz
27 Apr 2011, 2:44 AM
If you have the phone number on your server or in the Sencha Touch application, you can easily communicate with an gateway to send an SMS.

If you need to get the phone number from the phone's local address book, you should look into PhoneGap.

alexbariv
27 Apr 2011, 5:46 AM
Well the idea is that i send the message with from the phone where is running the app, without using web gateways. Taking advantage of the phone itself.

Phonegap could manage to do this ?

preyz
27 Apr 2011, 5:48 AM
Yes.

http://stackoverflow.com/questions/3193997/is-it-possible-to-send-sms-in-android-using-phonegap-framework

alexbariv
27 Apr 2011, 6:17 AM
Thank you very much! :)

arvinds
8 Aug 2013, 11:32 PM
var contactNo = "99999999999"; var emailId = "example@gmail.com"; var smsNo = "99999999999";


window.location.href = "sms:"+smsNo; window.location.href = "mailto:"+emailId; window.location.href = "tel:"+contactNo;

mnatives
6 Sep 2013, 4:06 AM
this idea really helpful.