Jump to content

Integrating Phonegap plugin to Send SMS

Recommended Posts

I'm looking for help in integrating the Cordova plugin for sending SMS via SmartMobileStudio for use in android app.


Here is the plugin and code:




Any help/ example with how I can use this code in SmartMobileStudio?

Link to post
Share on other sites

I figured it out.

It's as simple as creating a HTML <form> with variables and then submitting it.


For example


function document: variant; external "document" property;





'<form name="RegForm" id="RegForm">'+
'<input type="text" id="number" value="+ SMS_RECIEPIENT+ '"/>'+
'<input type="text" id="message" value="'+ MESSAGE_STRING+ '"/>'+
'<input type="submit" value="SEND SMS" id="sendMessage" />'+
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...