Page 1 of 1

need heelp

Posted: Fri Dec 14, 2012 8:02 am
by yasser

hello

i need help.,, im trying to build app for sending Custom sms to this number 233
with specific form (166coupon NO ID#)
which coupon no entered by the customer and id number its saved by the customer inside the app already ,, i do every thing excepting how to create and let the app make the form (166*coupon NO *ID#)

please help me


need heelp

Posted: Fri Dec 14, 2012 8:46 am
by Kateryna Grynko

Hello,
You can use following JavaScript code. Please paste your variables name as it's shown.
code//Here read Coupon NO from Text Input
var couponNo = Tiggzi('component_name').text();

//Here read ID from Local Storage variable
var ID = localStorage.getItem('variable_name');

var form = '166' + couponNo + '*' + ID + '#';
/code
Variable "form" will contain needed text for sending.


need heelp

Posted: Fri Dec 14, 2012 9:30 am
by yasser

thanx katya but what i need is when i press the button the app will send automatic sms by the operator Contain this result :

166 + couponNo + *+ ID + #


need heelp

Posted: Fri Dec 14, 2012 10:28 am
by Kateryna Grynko

Basic Phonegap version in Tiggzi doesn't provide SMS.
You can download project source code for Android or iOS and add plug-in for sending SMS into your project.

Android plug-in: https://github.com/phonegap/phonegap-...
iOS plug-in: https://github.com/phonegap/phonegap-...


need heelp

Posted: Tue May 14, 2013 12:18 pm
by HarryAasterud

Hi Katya. Is SMS still not supported by default? I am working on a project where I need to receive and send SMS on Android, maybe on iPad.


need heelp

Posted: Tue May 14, 2013 12:34 pm
by Kateryna Grynko

Hi Harry!

PhoneGap plug-in is expected in summer.
For now, you can use the following services to send SMS:
AT&T: http://developer.att.com/
Twillio: http://www.twilio.com/
Appery has according plug-ins.


need heelp

Posted: Tue May 14, 2013 12:52 pm
by HarryAasterud

Hi again Katya :o). Are the 2 plugins you mention in this topic not for calling the device stock app SMS?

I quote:

"Basic Phonegap version in Tiggzi doesn't provide SMS.
You can download project source code for Android or iOS and add plug-in for sending SMS into your project.

Android plug-in: https://github.com/phonegap/phonegap-...
iOS plug-in: https://github.com/phonegap/phonegap-..."


need heelp

Posted: Tue May 14, 2013 1:08 pm
by Kateryna Grynko

I meant adding the source code to plug-in manually...