Test7050382
Posts: 0
Joined: Mon Aug 18, 2014 10:07 am

sending sms without showing message compose window

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

sending sms without showing message compose window

Hello,

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

Test7050382
Posts: 0
Joined: Mon Aug 18, 2014 10:07 am

sending sms without showing message compose window

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?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

sending sms without showing message compose window

Hi,

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

Test7050382
Posts: 0
Joined: Mon Aug 18, 2014 10:07 am

sending sms without showing message compose window

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.

Test7050382
Posts: 0
Joined: Mon Aug 18, 2014 10:07 am

sending sms without showing message compose window

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

hamed
Posts: 0
Joined: Tue Jan 13, 2015 7:21 pm

sending sms without showing message compose window

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

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

sending sms without showing message compose window

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

Return to “Issues”