Page 1 of 2

sending sms without showing message compose window

Posted: Mon Aug 18, 2014 10:07 am
by Test7050382

Right now I made app to send sms to a number. I collect a number in input box and send it to recipient in message compose. My text for body is also fixed. I just want to send message directly without showing message compose.


sending sms without showing message compose window

Posted: Mon Aug 18, 2014 11:54 am
by Kateryna Grynko

Hello,

Please search for an appropriate plug-in on the Internet.


sending sms without showing message compose window

Posted: Mon Aug 18, 2014 12:30 pm
by Test7050382

Hello Katya,
I got link
https://github.com/Pyo25/phonegap-sms...

But I am new to use plugin. Can you please help me how to add this plugin to app?


sending sms without showing message compose window

Posted: Mon Aug 18, 2014 12:45 pm
by Kateryna Grynko

Hi,

This is pretty simple. You just need to add all files as custom files:
http://devcenter.appery.io/documentat...


sending sms without showing message compose window

Posted: Tue Aug 19, 2014 4:32 am
by Test7050382

Hi Katya,
This has plugins for contact,device,battery status etc. But I want plugin for sending sms. I tried to find it but I couldn't find it. Please help me.


sending sms without showing message compose window

Posted: Tue Aug 19, 2014 12:11 pm
by Kateryna Grynko

sending sms without showing message compose window

Posted: Tue Aug 19, 2014 12:12 pm
by Kateryna Grynko

You can also check our plug-in: http://devcenter.appery.io/documentat...


sending sms without showing message compose window

Posted: Wed Aug 27, 2014 7:43 am
by Test7050382

I dont want to use twillio and I already went through above three urls. Ok let me try again. Thanks.


sending sms without showing message compose window

Posted: Mon Jan 19, 2015 7:55 pm
by hamed

hello kateryna! i tried to add this plugin(both of them seperately) in my appery project with this toturial :
http://devcenter.appery.io/documentat...

(i changed all "toast" with "sms" and "nl.xservices.plugin" with address which was in .java file)
but this error occurred for both of them:
"""""
Build error

Most likely build error cause:

/sms/src/org/apache/cordova/plugin/sms/sms.java:[22,7] error: class Sms is public, should be declared in a file named Sms.java
/sms/src/org/apache/cordova/plugin/sms/sms.java:[3,25] error: package android.annotation does not exist
/sms/src/org/apache/cordova/plugin/sms/sms.java:[13,23] error: cannot find symbol
package android.provider
/sms/src/org/apache/cordova/plugin/sms/sms.java:[97,2] error: cannot find symbol
class Sms
/sms/src/org/apache/cordova/plugin/sms/sms.java:[100,76] error: cannot find symbol
class VERSION_CODES
/sms/src/org/apache/cordova/plugin/sms/sms.java:[101,43] error: package Telephony does not exist
""""

how can i send and receive sms without showing message compose window?
i can't use twillio...
thank u


sending sms without showing message compose window

Posted: Tue Jan 20, 2015 7:12 am
by Alena Prykhodko

Hello Hamed,

1) We are very sorry, but debugging or supporting project with changed source file is something outside the scope (http://devcenter.appery.io/support-po...) of our support.
2) This is barely legal from OS point of view, you need to find public Android function to do so. We are not awear of such functions