With just one line of code you can send SMS using Intel XDK
This function actually opens the default SMS app with the provided message and number. User has to click the send button to send the message. This SMS is send from the current mobile in which app is installed. If you want to send a SMS from your app server then use services like Twilio.
This function only works inside event handlers. So you can’t just call it whenever you like to. For example:
intel.xdk.device.sendSMS("Message from QNimate", "8608654421");
},false);
Make sure you have also added Intel XDK Device plugin in your app.