Problem on send sms text with java

Problem on send sms text with java SearchSearch
Author Message
Heverton Luiz Fornazari
New member
Username: Hfornazari

Post Number: 1
Registered: 07-2012
Posted on Saturday, July 14, 2012 - 08:50 pm:   

I experiencing some problems using sample sendsms_java.txt

and after tests here is a new version of this file, with my adjusts.

what to do?

replace on setvar the correct Names of url parameters. and substitute [&] by [&]

url_str = url_str + "&" + argname + "=";

now thats good!


text/x-javaSendSMS_java.txt correct now
SendSMS.java (6.2 k)
Heverton Luiz Fornazari
New member
Username: Hfornazari

Post Number: 2
Registered: 07-2012
Posted on Saturday, July 14, 2012 - 08:58 pm:   

review complete url parameters
application/octet-stream
sendsms.java (6.4 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4034
Registered: 08-2008
Posted on Tuesday, July 17, 2012 - 10:25 pm:   

Hi,

Thank you for your input.

I'm trying to figure out what changes you made.

Your code seems to look the same as our example at:

http://www.nowsms.com/download/sendsms.java.txt

I've reviewed a few of the places that we reference this Java code, but they also look OK.

I've checked all the following and don't see anywhere that & is present:

http://www.nowsms.com/pdf/nowsms2011.pdf
http://www.nowsms.com/doc/submitting-sms-messages/send-sms-text-message-with-jav a
http://www.nowsms.com/nowsms-java-example-send-sms-message

Where did you find the example that was wrong? I would like to fix the web page that is wrong, but I don't see it.

--
Des
NowSMS Support