yasser
Posts: 0
Joined: Fri Dec 14, 2012 8:01 am

need heelp

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

need heelp

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.

yasser
Posts: 0
Joined: Fri Dec 14, 2012 8:01 am

need heelp

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 + #

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

need heelp

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-...

HarryAasterud
Posts: 0
Joined: Tue May 14, 2013 11:15 am

need heelp

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

need heelp

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.

HarryAasterud
Posts: 0
Joined: Tue May 14, 2013 11:15 am

need heelp

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-..."

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

need heelp

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

Return to “Issues”