Is it possible to send SMS using Java?
Hello!
I am an Italian student who studies Computer Science at Pisa University, and
I am developing some projects in Java using Java 2 Standard Edition (J2SE) and Java 2 Micro Edition (J2ME, for MIDP 1.0 compliant devices). I need to know if there are some Java API
(for J2SE and J2ME) to send SMS to a mobile phone. I know Java Mail API but it
doesn't let me to send SMS to a mobile phone but only e-mail.
How can I do to send SMS to a mobile phone? Which steps must I follow?
Is there someone who can help me?
Thank you very much in advance!!
Luca
[612 byte] By [
ventural] at [2007-9-26 1:18:13]

Hi, I am currently working on this J2ME and as far as I know is that J2ME does not provide SMS features but you can try to look at JavaPhone API.
Sorry...but where must I look exactly? I haven't understand....can you give me some link? Thank you very much!
You may go to www.nokia.com to have a look.
Hey, As far as I know JavaPhone's Datagram API supports SMS sending through GSM, WDP and UDP, but receiving of SMS messages only in WDP and UDP.If someone have better information about this topic you could also send infoamtion to me.terv Rampe
the first step is to investigate how to create a sms pdu@see http://www.dreamfabric.com/sms/then you have to get a phone which lets you send this stuff (maybe thru a special api)
You need to find the API for the particular model of phone you are using. Click here - [url= http://www.visualtron.com]SMS Gateway[/url], [url= http://www.mobilekey.com]SMS GatewSMS Server, SMS Software[/url] by Visualtron Software. or http://www.sms-gateway-software.com
Hi!Take a look atSMProLib tool - sending SMS via Java. You also can receive messages. http://mobiles.unipro.ru/smlib_eng.htmlThis can help you
Yes it possible very much possible i have done many times now give ur e-mail i will mail it to u.
Please send me the stuff if possible . I am aslo working on sms. I need java code or api to send sms If you know any link to learn , then plaese tell me My email Id : himanshu@telserra.com
me it to me..i also working for java and SMSaiza_as@yahoo.com
sorry wrong typing :) .mail it to me. thanks
hi can anyone out there help me find out how i can send SMS messages using Java ? there is a project im about to work on that will require this bit of functionality. thanks
I work on simmller project and need it too please mail it to mem_silver33@hotmail.com thanks alot.
please send me toobora.yurday@etcbase.com
Please send the stuff to me too :) Thanks
Hi!Im also working on sms project.can u plz help me?plz mail me the code.my mail id: madhavigun@indiatimes.comthanks a lot.have a nice day,madhavi.
hi,I am an Italian student who studies Computer Science , andI am developing some projects in Java .so can u please send me how i can do that in java.my email id is krisaryan4u@yahoo.co.inThank you very much in advance!!
Hi, Could you please send it to me also. (rajseka@yahoo.com)Your help is much appreciated..thanksRaj
please send me tooemail: ps@itindus.com
Please kindly send it to me tooMy email address: publicdns@hotmail.comThanks a lot.
hi.can anyone plz tell me tht how to send sms using java.i need it urgently.plz mail me the reply at priyankadureja@myself.com
I am also in to development of SMS based application. Please be kind enough to send me the code.email:chamilap@pabnk.lkorchamila_perera@yahoo.com
hi, i was wondering cud you email me the code for sending SMS in java.i can useit perfectly through using simplewire, but dat costs.i need to be able toimplement it free.my email is shanelee007@hotmail.com
I am also working on this project.Kindly send me too.My e-mail address is meetamadhu@hotmail.com
Hello all,
The following articles may help you.
How to Send SMS from a Computer/PC?
http://www.developershome.com/sms/howToSendSMSFromPC.asp
How to Receive SMS Using a Computer/PC?
http://www.developershome.com/sms/howToReceiveSMSUsingPC.asp
Free Libraries/Tools for Sending/Receiving SMS with a Computer
http://www.developershome.com/sms/freeLibForSMS.asp
sun28 at 2007-6-30 21:31:20 >

Hi, Im supposed to send SMS using java can any one of u please send examples and info.Thanking you,Harshavardhan.
Hi i forgot to give my mail id, and it is t9hn@yahoo.comThank you.
please send me it too. i m also working to send sms using java...please send me toomy email id: mamun1net@yahoo.comthanksMamun
I need that same help too. So if possible please email me too atfaisal.aslam@gmail.comThanks a lot.
hey can you send me the code for the same. i have to make a tool which will cover this functionality as wellyour reply will be highly appreciated.my mail id is kunal_ratanpal@yahoo.com
i would be gratefult o if you could send to me too...rvreddy01@yahoo.com
Me too, please.lonedesign_2k(@)yahoo(.)com
I want it too, please send me the code and discription if available as soon as possible
Hi, please send to my email too: tommy_ng@pmail.ntu.edu.sg (regarding sending SMS by Java)Thanks
Hi.Could you please send me the code as well, as I urgently require it. Thanking you in anticipation of your help.Thanks again
Please do send me the Code or any further help to your scope. That would be a great help to me as I am also working onthe same project. Further adding to the query please specify me pre-requisites for the usage of any GSM Phone (may it have modem capabilities or not) to be able to use it for sending SMSs.
My Status:
I am using Nokia 3610 which could be used to send SMS by LogoManager, but when I connect it to a serial data cable and try to get response from the Hyperterminal by using AT commands like AT or ATI etc. I do not get OK in response. However when I connect a 56Kbps External Modem to the same port it responds to the AT Command set with OK. Please help me to come out of this situation.
I have heard that Nokia 6210 has been used worldwide for similar projects, but this model now seems to be outdated. Please do suggest me some more recent Nokia sets.
Thankx in Advance.
Subir
I am developing a nice little helper app for managing craigslist searches (mycraigslist.com) and would like to add functionality for SMS alerts -- Your code sounds very helpfull -- Please share -- Thanxirieb@mac.com
irieb at 2007-6-30 21:31:22 >

Does this article help? http://www.wirelessdevnet.com/channels/java/features/simplewire/Rich
please sedn the infomation to lakshman553@yahoo.com also... thanks very much.
Hi!Im also working on a mobile - sms project.can u plz help me?plz mail me the code. (i am using COM3 serial port and a nokia phone connected to the PC)my mail address is :afalius2@yahoo.comthanks a lot.have a nice day,Ali
Afz at 2007-6-30 21:31:22 >

I'm also intrested in sending sms thru a phone using java,my email is napoleonokunna@yahoo.com.Please send the details to me
Plz send that code to me too. i need it very much.My id is ashuashish@rediffmail.comand contact_ashish12@rediffmail.com
i know that it is possible to send sms using java .......but can anyone of u help me in getting the code to send sms from pc using java.....plz reply to my mial id :prisci_joseph@rediffmail.com....thank you
I am Suresh..Workig on an application that neds to send sms using java can any one please mail me the the related sample code or Api... my email ID: suresh_botta@rediffmail.com
Sooori at 2007-6-30 21:31:23 >

Hi all.
I have the following solution to send/receive sms via J2SE/J2EE:
J2SE --> SMS Gateway --> Receiver
J2EE <-- SMS Gateway <-- Sender
I set up my own SMS Gateway (www.kannel.org). It comes with a light-weight web server which has a cgi script pre-installed in order to use HTTP requests to send sms. Incoming sms can be mapped to e.g. a servlet to process the request and optionally return back a response. Outgoing sms are straight-forward. The gateway uses e.g. the nokia card phone with a valid SIM for both directions.
Hope that helped.
Dominik
i also want the codesns182000@yahoo.com
sns16 at 2007-6-30 21:31:24 >

Please send the code and API to me tooMy email address: pamela1227@hotmail.comThanks a lot.
is it possible for me to have a copy of the codes as well? thanks in advancesolidlink@gmail.com
nuvar at 2007-6-30 21:31:24 >

i am kesavan from indiai want the codepls mail me at kesu143@rediffmail.com
yes it is possible to send sms .use AT commands in case you don't want to use third party software.But I am having problem in recieving sms through these AT commands,I am not able to retrieve message from inbox of GSM modem.tell me the exact code.
could i possibly have the code also, thanx. email: garethjambo@hotmail.com
Hi here is my mail .Can you Please send me a code example how can I send SMS from my Java ApplicationThanks in AdvanceYou are Great .David
I appreciate if you could forward your code to my email: kennychau@msn.com
HI EVERYBODY
Sending sms from java application can be accomplished if the mobile service provider supports SMTP gateway.You can simply use JavaMail API to send the message to the SMTP gateway.For example send it to 123243453@mobilesp.com where the first part is the number & second part the service provider
Hello, could you also send me the code and the infrastructure/ environment details for doing the setup. Did you use an SMS gateway like the open Source Kannel?Regards,Archanaa
Hello,Could you send me the source code also? My email is archanaa_panda@yahoo.comI also need details about the infrastructure and environment involved. Did you use an SMS gateway for the same? How can the application be configured?Thanks.
hi can you also send me a copy of that code, i need it for my project. its sort of urgent. my mail aID is vishesh.raval@gmail.com
Hi, I hate to annoy by jumping on the send-it-to-me bandwagon, but could u pls send me the sms sending code/API at sjforever@yahoo.com. It would save me a lot of time and grief having to write the code myself.Thanks
u said it is possible to send sms using AT COMMANDSi'm an engineering studentand developing minor project on same topicit would be very nice of u to help mewaiting for ur replythank u in advancereply me at " yourz_sumit@rediffmail.com"
it's just a demoif it worked for emulator then to it won't be a problem thank u
it's just a demoif it worked for emulator then to it won't be a problem thank u
Hi here is my mail .Can you Please send me a code example how can I send SMS from my Java ApplicationThanks in AdvanceYou are Great .rockforu
dear friend.Im prince from Bangladesh. Im trying to do something like you. but I cant please help me. best regardsprinceBangladeshprinceazom@gmail.com
please send me all the possible ways to send sms through a java app.please mail it to me as early as possiblemy mail add is kasif.ali@rediffmail.com
kasif at 2007-6-30 21:31:26 >

plz send me the code atvjads@gawab.com
Yes, it is possible to send SMS using JAVA. refer the following website http://smsj.sourceforge.net/ for more detail
jo_paw at 2007-6-30 21:31:26 >

Can i have the code and The API? I really really need that. Thanks for your attention and support. My email: r_34_dy@yahoo.com
Plz send me the Code plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
jeetu at 2007-6-30 21:31:26 >

i am triying to send sms from java too. i need your help. can you send me a sample code. my e-mail adress: okan_mengi@hotmail.com
Hi, Can you please send the code for sending SMS through Java? My mail-id is dkoley@yahoo.com.
dkoley at 2007-6-30 21:31:26 >

HiThis is Ripon Nandi from India. Please send this code. Thanks in advance
This is Ripon Nandi.I urgently require this code.Please send it immediately.My mail Id: ripon_nandi@rediffmail.com,ripon.nandi@gmail.google.com
I want to send sms modem.Please send the code.My e-mail Id :ripon_nandi@rediffmail.comThanks & regardsRipon Nandi
Hello,Please send me the source code too. My email is softdivision@yahoo.com.Thanks.
SWD at 2007-6-30 21:31:26 >

could some one please send me the code and the APIthanx alotmy Email is: emanfarouk@gmail.com
Can you send me the sample code and reference to the libraries I am suppose to use with.Thanksabchandran
> Yes it possible very much possible i have done many> times now give ur e-mail i will mail it to u.> Hi,Can you please send the code to me? My mail address is vishnumall@yahoo.co.in.Thanks,Vishnu
i need the code can send mi ahhoe_sg@yahoo.com.sgthank
Hi ,I am very much new to sms programming in java. can anyone guide me to get familiarity of this and which are the forums to look into and any examples if you have any. my mail id sahankumar.koppal@honeywell.com, sahankumar@rediffmail.comThanks in advance
Hi,I want to send ringtone to the phone using SMS and WAP Push.I have Kannel SMS and WAP gateway installed.Please send me the sample code and guide me with Kannel configuration.My e-mail is : mankul25@hotmail.com
mankul at 2007-6-30 21:31:28 >

can u plz also send me the code how to get response using nokia 3610.im working on the project too.jeeven8my@yahoo.com
jiv at 2007-6-30 21:31:28 >

hi, me too, can you teach me how to.. email: mailtoianfrei@yahoo.com. thanx a lot.. =)
I am also working on the same... sending SMS using java. can anybody help me? may email id is savita@sutra.co.jp
4321 at 2007-6-30 21:31:28 >

I am sorry I came in too late.. But I need it very badly.. can someone please send me as well...my email: chandan820@gmail.comthanks in advance
can someone please send me as well...?my email: halbion@inwind.itthanks in advance!
hey guyz...can some body send me the code too... thanx in advance...MR.Manoj.Rapaka@gmail.com
rapaka at 2007-6-30 21:31:28 >

HI everyonecan someone send me the code pleaseI'll b gratefulThanks in advance
m@dI at 2007-6-30 21:31:28 >

hi againmy email address is madi.malik@gmail.comkindly send me the code:)
m@dI at 2007-6-30 21:31:28 >

> HI everyone> can someone send me the code please> I'll b grateful> Thanks in advanceHI everyonecan someone send me the code pleaseI'll b gratefulThanks in advance. my email is mutuac@yahoo.com
Hi, I'm also working on send SMS via java, can u also send me the code to obie23@gmail.comthanks
obie23 at 2007-6-30 21:31:30 >

yes its possible to send SMS via java but it is somewhat complex.java gives you a comm API you have to send a message to port and your port should be attached to a modem for which parsing has to be done by urself.
if you are doing for a project dont take this idea.It is costly and time consumig
hey ! First, for the person who offer his code, please upload it so we all could enjoy the product :)Second,is there any source of c++ / other language code that will be compilled to exe and will be remotly executed from the java application ?
Hey, please send me the code as well. I am in desprate need. my email id is vinni_ks@yahoo.co.in.
Please email the code to vidin_dc@yahoo.com
Hello,Please send the code to me too ! I would really thank u !Thanks,Abhijit Chandekar
Hello,I forgot to mention my id."abhijit_enggr@yahoo.com"Plz send me the codeThanks,Abhijit Chandekar
I'm really sorry, I really don't mean to bore you but I need code and API for sending sms using Java. My prof. just give us this exercise and I am a little bit late with his course :PTnx everyone!
sorry I forgot to write my email :ailill84@yahoo.it
Hello,Please send the code to me too ! my email is tramy@gmx.netThank you very much,Tramin
tramy at 2007-6-30 21:31:30 >

hellocould you send the code to memy email address is isyhsyt@hotmail.comthanks!
I also need to send SMS using JAVAemb@netcabo.ptThanks
Any of the member which has code pls send me the code too..ThanksNaveen naveen_kumar80@rediffmail.com
ksahab at 2007-6-30 21:31:30 >

Hi,Can you please send me also the stuff if possible. Here is my mail address.vidyam@discovery.co.zaThanks,
vidya at 2007-6-30 21:31:30 >

Hi,I'm also looking for help or code on how to send SMS using java through a GSM modem, I know there is a lot of links that has been given in java forums, but any help will be appreciated .Thanksemail : mornes@cti.co.za
Bossie at 2007-6-30 21:31:30 >

Hi,Can anyone kindly send me a copy of the source to send SMS to me?Thanks in advance!Mail: locustchung@gmail.com
locust at 2007-6-30 21:31:32 >

Can u plz send me the code for sneding SMS through java code.i got stucked in my project at this point.plz fwd me the code asap.looking for quick response
Can u plz send me the code for sneding SMS through java code.i got stucked in my project at this point.plz fwd me the code asap.looking for quick responsemail id: amit_bakshi123@rediffmail.com
Is it possible to send SMS using Java?
Is it possible to send sms by java,I am already have a sms modem with me, I want to find a way of sending sms using java....?
I need the code for sending SMS thro Java...My id is jsrini_raj@yahoo.co.in
To the person who started all this and the lucky ones who got it too..
please upload the code so that others could also enjoy it.
Just cant beleive...8 pages asking bout the same stuff
Hey...ifno1 is interested in uploading it then mail it to me..I NEED IT TOO
my ids are-
rdks24@gmail.com
rkds24@tatanagar.com
reet7@coolgoose.com
r_at_india@coolgoose.com
Regs
rdks
rdks at 2007-6-30 21:31:32 >

My Name is puneet mongia,Iam also working on such which require this functionality .So please some one send this information to me .my mail id is puneetmongia_2004@yahoo.comThanking you in advanceTake Care
Hi i am a USC student working on a project. Can anyone send me the code for sending sms messages with JavaMy email address is sgill@usc.eduThanks in Advancesunny
Does anyone look at JSR205?
Hi.
I'm gilbird from South Korea.
I hope following comments will help you.
> Hello!
> I am an Italian student who studies Computer Science
> at Pisa University, and
> I am developing some projects in Java using Java 2
> Standard Edition (J2SE) and Java 2 Micro Edition
> (J2ME, for MIDP 1.0 compliant devices). I need to
> know if there are some Java API
> (for J2SE and J2ME) to send SMS to a mobile phone. I
Yes. There is J2ME WMA 1.1(Wireless Messaging API) and this supports Java SMS.
You have to get WMA 1.1 enabled phone.
> know Java Mail API but it
> doesn't let me to send SMS to a mobile phone but only
> e-mail.
>
> How can I do to send SMS to a mobile phone? Which
> steps must I follow?
You can't directly send SMS to a mobile phone at your PC.
But you can send SMS indirectly by the phone.
You have to implement two application:
1. Make SMS Agent MIDlet which action is
- starts UDP client
- get SMS information from J2SE UDP server
- send SMS
(Also you have to get UDP enabled phone.)
2. Make Java application which actions is
- starts UDP Server
- get UDP connection and send SMS information to the SMS Agent MIDlet.
No 1 is for MIDP/WMA enabled phone and No. 2 is for your PC.
>
> Is there someone who can help me?
>
> Thank you very much in advance!!
>
> Luca
i want some deatails about this .who can help me please..
Hi,Sorry to be a pain I know you have had a lot of requests already and it feels as if i'm tacking advantage as well but would it be possible for you to send me a copy of the code as well please.Many ThanksMy email is: richard75@blueyonder.co.uk
HiIt is amazing this thread has stretched for 8 pages - everyone is asking for the code. Has anyone actually received it. If yes - does it work.Let me knowGublooo
Please send it to me also My mail id : chiguruvada@gmail.comthanks
Hi kesavan, This is Krishna from India.. iam developing messenger application. I have to develop SMS in our application. I need your help. Can you please send me the SMS code.Thanks & regardskrishna
Hi friendz, I m working on project which requries the sending of sms on mobiles.. can anybody provide the codes for it.. or any good links.Thanks in advanceVinod K
Vinod at 2007-6-30 21:31:35 >

There is a JSR-120 called Java Wireless Messaging API, which allows you to send SMS from a mobile. It is part of most modern MIDP2.0 phones, more documentation can be found from the Sun pages (there is also an update ongoing to produce WMA-2.0 which is JSR-205 I think). Sorry I don't have code for it, put the API is very simple. If you want to send SMS from network, then I don't know (I am myself looking the answer for that).
KnowNotMuch
Can U send a java code to send SMS from a computerThank You.Littlerose
Hi all,I also would highly appreciate if someone could send me the code.email: stephan@bardubitzki.comThanks in advance.Stephan
am working on the same issue..i need to send SMS from a mobile phone using J2ME...if any one could help i'll be thankful
GONO at 2007-6-30 21:31:35 >

Hello,Can you pl. send me the details of how to send/receive SMS using Java. My email id is brengachari@tiaa-cref.orgThanks in advanceBooshan
hi guys,Kindly mail this material to me at asim_linfo@yahoo.com.
wrosed at 2007-6-30 21:31:35 >

Hi Everybody,Could someone send me the code please, this is exactly what I would need for my appThanks so much !!!john.j71@gmail.com
You need a phone that supports Wireless Messaging API (WMA) as part of the J2ME implementation. Both WMA 1.1 and 2.0 are out.
This code is from a Motorola SDK document for WMA 2.0:
//To send SMS
try {
String addr = sms://+358401234567;
MessageConnection conn = (MessageConnection) Connector.open(addr);
TextMessage msg =
(TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE);
msg.setPayloadText(Hello World!);
conn.send(msg);
} catch (Exception e) {
...
}
//To receive SMS
try {
String addr = sms://:5432;
MessageConnection conn = (MessageConnection) Connector.open(addr);
Message msg = null;
while (someExitCondition) {
// wait for incoming messages
msg = conn.receive();
// received a message
if (msg instanceof TextMessage) {
TextMessage tmsg = (TextMessage)msg;
String receivedText = tmsg.getPayloadText();
// respond with the same text with Received:
// inserted in the beginning
tmsg.setPayloadText(Received: + receivedText);
// Note that the recipient address in the message is
// already correct as we are reusing the same object
conn.send(tmsg);
} else {
// Received message was not a text message, but e.g. binary
...
}
}
} catch (Exception e) {
...
}
uhf123 at 2007-6-30 21:31:35 >

Hi..i'm new..just join this forum..Can u send me anything that can help me with build an SMS apps with java..specially J2ME...I'm working on it 4 my final project....My email : cliff_51014@yahoo.comThx...
I have started to work on a alert project .could someone send the code to send SMS using JAVA and the configuration details . My Mailid is jaijeeva@gmail.com.Please help!
Hi, This is kris ..is it possible to do sms using java. I have 2 days time to complete the 2 way sms. Here iam ready to use third party gateways to send & receive sms. Which one is the best...can anybody send me the sample sms java code.Plz......
Third party gateways are.......
1) clickatell.com
2)Its4sms.com
3)50sms.com
4)Esendex.com
5)Zni.in
I think u can understand my pbm. Plz ....send me the suitable sms code for java.
Thanks in advance..
kris
Hi friends.. Iam also working on that project. Please send me the needed information.. Please send me code.. My email Id is rajesh_koolblue@yahoo.com
Hi... Iam a Student of Osmania university....Iam doing this project.... Please send me the code and documentation....... Iam in a very desperate situation....Please mail me...... byeee
Hi,This is kris, developing sms application ..I have seen ur message..u said, using, javamail api we can do. Can u please provide me the sample code for 2way sms in java.Regardskris
can any one tell me how can i send sms using sdk and not J2ME. i want to send an sms throught my site.if any one has code can u send me to mehtarishit@yahoo.co.in
rishit at 2007-6-30 21:31:37 >

plaese send me the code for sending sms with java
hi ,i am new for mobile technology. i want to send and receive sms through my pc.can anybody help me for this.thanks in advance...vishesh
Hi urgent! can you email the sms stuff to me thanks a lotzgaunc@gmail.com
zgaunc at 2007-6-30 21:31:37 >

hi friends,i am working for a project that can control a system via sms can it be possible that the system replyes to the mobile number via sms about its status
pl send me the code for sending sms on mobile using j2ee since i m doing a project on e-banking. If possible also send me code for sending mail through j2ee.Thanking you.
Ruchi at 2007-6-30 21:31:37 >

please send me code for sending sms through java application
Hi there, can I have the code too if you still have it? BTW one qn, for application like sms, is it better to use visual basic or java?
A_H_S at 2007-6-30 21:31:37 >

sorry, i did not post my add.. acehotshot@gmail.com
A_H_S at 2007-6-30 21:31:37 >

i am currently working on converting a text message to sms.kindly mail the code to send an sms through java to me. i'd be thankful
shoiab at 2007-6-30 21:31:37 >

sorry...i forgot to post my mail id too. its sjmail@rediffmail.comi need it urgently. any kind of help in this regard is welcome and appreciable.thanks
shoiab at 2007-6-30 21:31:37 >

Hi!Im also working on sms project.can u plz help me?plz mail me the code.my mail id: prsharma@techmahindra.comthanks a lot.have a nice day,Praveen
Hey,I am also trying to work on such an sms application for sending messages through sms and recieve them on a server....need to broadcast messages..My email id : chi2105@yahoo.com....can you send me some relevant links/software...
shahi at 2007-6-30 21:31:37 >

Please send me the code tooaldofad@hotmail.comthanks in advance