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.
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.
Hello,
Please search for an appropriate plug-in on the Internet.
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?
Hi,
This is pretty simple. You just need to add all files as custom files:
http://devcenter.appery.io/documentat...
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.
You can also check our plug-in: http://devcenter.appery.io/documentat...
I dont want to use twillio and I already went through above three urls. Ok let me try again. Thanks.
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
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