Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to send SMS from phonegap HTML/Javascript application using Phone SMS API?

I've been trying to play with Phonegap and created a small application in HTML/Javascript to send an SMS. I tried this code window.location.href = 'sms:XXXXXXXX06?body=Testing' which opens up a screen to manually send the sms which I want to automate.

Please note that I create an android app by uploading my project source code to build.phonegap.com, so I can not modify the .apk source.

Is it possible to do it in Javascript only?

like image 626
codef0rmer Avatar asked Aug 11 '12 18:08

codef0rmer


2 Answers

See the Phonegap SMS Plugin to send SMS messages.

like image 61
dda Avatar answered Oct 20 '22 01:10

dda


here is the phonegap-sms-plugin

like image 29
Prabakaran G Avatar answered Oct 20 '22 01:10

Prabakaran G