943,875 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 7130
  • Java RSS
Nov 25th, 2008
0

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

Expand Post »
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.
Reputation Points: 10
Solved Threads: 0
Light Poster
mahaboob Basha is offline Offline
28 posts
since Nov 2008
Nov 25th, 2008
0

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

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 ..)
Featured Poster
Reputation Points: 653
Solved Threads: 151
Nearly a Posting Virtuoso
stephen84s is offline Offline
1,316 posts
since Jul 2007
Nov 25th, 2008
0

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

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..




Click to Expand / Collapse  Quote originally posted by stephen84s ...
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 ..)
Reputation Points: 10
Solved Threads: 0
Light Poster
mahaboob Basha is offline Offline
28 posts
since Nov 2008
Nov 25th, 2008
0

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

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.
Featured Poster
Reputation Points: 653
Solved Threads: 151
Nearly a Posting Virtuoso
stephen84s is offline Offline
1,316 posts
since Jul 2007
Nov 25th, 2008
0

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

Thanks alot for these valuable information!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
goodamr is offline Offline
1 posts
since Nov 2008
May 19th, 2009
0

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

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ME9u6 is offline Offline
1 posts
since May 2009
May 20th, 2009
0

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

Click to Expand / Collapse  Quote originally posted by ME9u6 ...
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..
Reputation Points: 935
Solved Threads: 356
Nearly a Posting Maven
stultuske is offline Offline
2,497 posts
since Jan 2007
Sep 27th, 2010
0

java code for reading msg from gsm modem

hello i wish to read a msg automatically in a PC through gsm modem & also want to send msg through same automatically. will u plz guide for that?
i want to use GSM modem.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
SUNIL44 is offline Offline
1 posts
since Sep 2010
Sep 27th, 2010
-1
Re: how to write java program which sholuld be able to send sms messages to mobile
hi i want to write a c program to obtain output as tajmahal figure.and it should be obtained as in the form of drawing with dots (as pencil pointing dots) to draw tajamahal.i tried it but i can't.can anyone please help me and suggest me to how to write thecode
Reputation Points: 7
Solved Threads: 0
Newbie Poster
sandeepsrikanth is offline Offline
1 posts
since Sep 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: help.. how to read this?
Next Thread in Java Forum Timeline: Simulation of SJF in Java





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC