how to write java program which sholuld be able to send sms messages to mobile

Reply

Join Date: Nov 2008
Posts: 28
Reputation: mahaboob Basha is an unknown quantity at this point 
Solved Threads: 0
mahaboob Basha mahaboob Basha is offline Offline
Light Poster

how to write java program which sholuld be able to send sms messages to mobile

 
0
  #1
Nov 25th, 2008
Hi iam developing one application..in which i need to write code with port number and mobileno which shoul send a sms message to mobile.. here i connected my gprs mobile as a modem to my pc in nowsms gateay... now i want to write a program which should listen on that port.. i have the following steps...

1.write a servlet or jsp which should listen on that port
2.and you should register your servlet/jsp in nowSMS gateway
so when ever sms come is that registered url will fire.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: how to write java program which sholuld be able to send sms messages to mobile

 
0
  #2
Nov 25th, 2008
As usual your post is vague and I can't exactly figure out what you need !!!

Let me guess what is the scenario here:-

Your Cell Phone is connected via a USB / Serial Port to your PC and has been as a gateway in NowSMS and you wish to write an application (servlet / JSP ... whatever) from which you can send an SMS to any mobile phone using your cell phone as a GSM Modem ???

OR

Is it the other way around and you wish to retrieve messages received on the Cell phone via NowSMS and NowSMS should forward the SMS to your HTTP Link (which could be JSP Servlet whatever ..)
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 28
Reputation: mahaboob Basha is an unknown quantity at this point 
Solved Threads: 0
mahaboob Basha mahaboob Basha is offline Offline
Light Poster

Re: how to write java program which sholuld be able to send sms messages to mobile

 
0
  #3
Nov 25th, 2008
we configured nowsms as a gateway in one of the pc..and we connected a gprs phone as a modem for sending and receving messages..now i want to write a program in another machine(PC) to send messages to the other pc(nowsms Server).. we know the port number and mobilenumber which is configured as modem in now sms..similarly i want to write a program in nowsms for replying the message what it has received..for example pc1 will send a text message to pc2 and pc2 has to reply this message.. if any more data required plz let me know...

Thanks&Regards,

Basha..




Originally Posted by stephen84s View Post
As usual your post is vague and I can't exactly figure out what you need !!!



Let me guess what is the scenario here:-

Your Cell Phone is connected via a USB / Serial Port to your PC and has been as a gateway in NowSMS and you wish to write an application (servlet / JSP ... whatever) from which you can send an SMS to any mobile phone using your cell phone as a GSM Modem ???

OR

Is it the other way around and you wish to retrieve messages received on the Cell phone via NowSMS and NowSMS should forward the SMS to your HTTP Link (which could be JSP Servlet whatever ..)
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 1,175
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: how to write java program which sholuld be able to send sms messages to mobile

 
0
  #4
Nov 25th, 2008
Using NowSMS you can only send SMSes from a cell phone to the PC to which your Cell Phone is connected and is being used as GSM Modem. You cannot send SMS from one Computer to another without each one being connected to its own cell phone with NowSMS configured on both the machines to use the cell phones as GSM / GPRS modems.

Also In case you just want to send outgoing SMSes (from the PC which has your cell phone connected) to any other cell phone, NowSMS has a Web Interface which you can use for that. In case you wish to embed this ability of sending messages in a program of yours, it also has a HTTP link for accepting messages to be sent via your cell phone, you can embed this link inside your application, you will need to check out the NowSMS reference manual however to check the link specifications though.
As far as receiving SMSes via NowSMS goes, I haven't really tried it, so can't help you on that.
Last edited by stephen84s; Nov 25th, 2008 at 4:44 am.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."

"How to ask questions the smart way ?"
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 1
Reputation: goodamr is an unknown quantity at this point 
Solved Threads: 0
goodamr goodamr is offline Offline
Newbie Poster

Re: how to write java program which sholuld be able to send sms messages to mobile

 
0
  #5
Nov 25th, 2008
Thanks alot for these valuable information!
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 1
Reputation: ME9u6 is an unknown quantity at this point 
Solved Threads: 0
ME9u6 ME9u6 is offline Offline
Newbie Poster

Re: how to write java program which sholuld be able to send sms messages to mobile

 
0
  #6
May 19th, 2009
hi i am busy developing a java ap for mobile phones how do i get it to send a sms to a setan number to get registerd
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: how to write java program which sholuld be able to send sms messages to mobile

 
0
  #7
May 20th, 2009
Originally Posted by ME9u6 View Post
hi i am busy developing a java ap for mobile phones how do i get it to send a sms to a setan number to get registerd
hijacking a thread without even showing a bit of own code is not the best way to start, I'm afraid..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC