Receive SMS from a java app

Receive SMS from a java app SearchSearch
Author Message
Irshad
New member
Username: Irshad

Post Number: 1
Registered: 08-2006
Posted on Monday, August 21, 2006 - 09:42 am:   

Hello all,

can someone pls guide me on how to receive SMS from the NOW/SMS connected to a phone from a Java Application.

Pls advise.
Regards,
IR
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6401
Registered: 10-2002
Posted on Monday, August 21, 2006 - 07:05 pm:   

Hi IR,

When NowSMS receives an SMS message over the GSM modem interface, it can be configured to deliver this message to an application either by issuing an HTTP request to connect to the application (if your application is running on a web server), or by running a command line program.

For more information, see:

http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm

-bn
Irshad
New member
Username: Irshad

Post Number: 2
Registered: 08-2006
Posted on Tuesday, August 22, 2006 - 06:11 am:   

Thanks a lot.

I have been able to get the message thru the URL. thanks again.

Regards,
IR
Irshad
New member
Username: Irshad

Post Number: 3
Registered: 08-2006
Posted on Tuesday, August 22, 2006 - 07:46 am:   

image/bmpPic config
pic.bmp (830.0 k)


Hi all,

I have tried to use the cmd command. I dont see anything pop up. I cant get the response.

Is there sthg am doing wrong.
Pls advise.

Regards,
IR
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6410
Registered: 10-2002
Posted on Tuesday, August 22, 2006 - 07:37 pm:   

IR,

You will NEVER see anything pop-up on the screen when a 2-way command is configured.

NowSMS runs as a service, in the background on the PC. Any 2-way command that you configure will similarly be run in the background under the service process.

-bn
Irshad
New member
Username: Irshad

Post Number: 4
Registered: 08-2006
Posted on Tuesday, August 22, 2006 - 07:39 pm:   

Hi all,

I have been able to receive SMS thru the URL. But there is one issue. Whenever i am sending an SMS to the mobile connected to the gateway, i am getting a reply when it is getting delivered. The msg is : 'Command not completed. Request returned invalid content type: text/html'

Can we disable the response sms. Pls advise.

regards,
IR
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6434
Registered: 10-2002
Posted on Thursday, August 24, 2006 - 09:15 pm:   

To disable the response SMS, you UNcheck "Command returns response text" when you define the 2-way command.