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]
# 1
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.
sinlanyeo at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2
Sorry...but where must I look exactly? I haven't understand....can you give me some link? Thank you very much!
ventural at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3
You may go to www.nokia.com to have a look.
sinlanyeo at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 4
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
rampe29 at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 5
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)
mikoehler at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 6
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
visualtron at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 7
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
maxim_khkh at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 8
Yes it possible very much possible i have done many times now give ur e-mail i will mail it to u.
The@Xpert at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 9
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
hsprusty at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 10
me it to me..i also working for java and SMSaiza_as@yahoo.com
aiza_as at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 11
sorry wrong typing :) .mail it to me. thanks
aiza_as at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 12
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
moreharm at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 13
I work on simmller project and need it too please mail it to mem_silver33@hotmail.com thanks alot.
SilverShadow8 at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 14
please send me toobora.yurday@etcbase.com
bloodyblue at 2007-6-29 0:48:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 15
Please send the stuff to me too :) Thanks
imation3g at 2007-6-30 21:31:19 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 16
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.
madhavigun at 2007-6-30 21:31:19 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 17
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!!
krisharyan4u at 2007-6-30 21:31:19 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 18
Hi, Could you please send it to me also. (rajseka@yahoo.com)Your help is much appreciated..thanksRaj
MyJavaTest123 at 2007-6-30 21:31:19 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 19
please send me tooemail: ps@itindus.com
singhpushkar at 2007-6-30 21:31:19 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 20
Please kindly send it to me tooMy email address: publicdns@hotmail.comThanks a lot.
Java2Developer at 2007-6-30 21:31:20 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 21
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
priyanka2004 at 2007-6-30 21:31:20 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 22
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
chamilap at 2007-6-30 21:31:20 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 23
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
Shavo_21 at 2007-6-30 21:31:20 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 24
I am also working on this project.Kindly send me too.My e-mail address is meetamadhu@hotmail.com
tinameeta at 2007-6-30 21:31:20 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 25

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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 26
Hi, Im supposed to send SMS using java can any one of u please send examples and info.Thanking you,Harshavardhan.
Harshavardhan.Tirupati at 2007-6-30 21:31:20 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 27
Hi i forgot to give my mail id, and it is t9hn@yahoo.comThank you.
Harshavardhan.Tirupati at 2007-6-30 21:31:20 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 28
please send me it too. i m also working to send sms using java...please send me toomy email id: mamun1net@yahoo.comthanksMamun
pagol_j2me at 2007-6-30 21:31:20 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 29
I need that same help too. So if possible please email me too atfaisal.aslam@gmail.comThanks a lot.
faisalaslam at 2007-6-30 21:31:20 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 30
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
kunal_ratanpal at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 31
i would be gratefult o if you could send to me too...rvreddy01@yahoo.com
rvreddy011 at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 32
Me too, please.lonedesign_2k(@)yahoo(.)com
DodgerLD at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 33
I want it too, please send me the code and discription if available as soon as possible
ghosson at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 34
Hi, please send to my email too: tommy_ng@pmail.ntu.edu.sg (regarding sending SMS by Java)Thanks
tanbetien at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 35
Hi.Could you please send me the code as well, as I urgently require it. Thanking you in anticipation of your help.Thanks again
tasneem at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 36

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

Subir_Sinha at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 37
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 38
Does this article help? http://www.wirelessdevnet.com/channels/java/features/simplewire/Rich
dreverhart at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 39
please sedn the infomation to lakshman553@yahoo.com also... thanks very much.
lakshman@sun at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 40
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 41
I'm also intrested in sending sms thru a phone using java,my email is napoleonokunna@yahoo.com.Please send the details to me
ejimofor at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 42
Plz send that code to me too. i need it very much.My id is ashuashish@rediffmail.comand contact_ashish12@rediffmail.com
stardocs at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 43
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
prisci_joseph at 2007-6-30 21:31:22 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 44
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 45

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

dahlemd at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 46
i also want the codesns182000@yahoo.com
sns16 at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 47
Please send the code and API to me tooMy email address: pamela1227@hotmail.comThanks a lot.
pamelastone1 at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 48
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 49
i am kesavan from indiai want the codepls mail me at kesu143@rediffmail.com
coolnavsek at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 50
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.
pooja_sachdev at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 51
could i possibly have the code also, thanx. email: garethjambo@hotmail.com
garethjambo1 at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 52
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
King_David at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 53
I appreciate if you could forward your code to my email: kennychau@msn.com
Kenny_Chau at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 54

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

java_addict at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 55
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
NainaAgarwal at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 56
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.
NainaAgarwal at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 57
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
insane_coder at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 58
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
sjforever at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 59
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"
yourz_sumit at 2007-6-30 21:31:24 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 60
it's just a demoif it worked for emulator then to it won't be a problem thank u
yourz_sumit at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 61
it's just a demoif it worked for emulator then to it won't be a problem thank u
yourz_sumit at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 62
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
rockforu at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 63
dear friend.Im prince from Bangladesh. Im trying to do something like you. but I cant please help me. best regardsprinceBangladeshprinceazom@gmail.com
princeazom at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 64
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 65
plz send me the code atvjads@gawab.com
aakashdjain at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 66
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 67
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
mychicco at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 68
Plz send me the Code plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
jeetu at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 69
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
okan_mengi at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 70
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 71
HiThis is Ripon Nandi from India. Please send this code. Thanks in advance
ripon_nandi at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 72
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
ripon_nandi at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 73
I want to send sms modem.Please send the code.My e-mail Id :ripon_nandi@rediffmail.comThanks & regardsRipon Nandi
ripon_nandi at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 74
Hello,Please send me the source code too. My email is softdivision@yahoo.com.Thanks.
SWD at 2007-6-30 21:31:26 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 75
could some one please send me the code and the APIthanx alotmy Email is: emanfarouk@gmail.com
a_e_r_a at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 76
Can you send me the sample code and reference to the libraries I am suppose to use with.Thanksabchandran
abchandran at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 77
> 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
vishnumall at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 78
i need the code can send mi ahhoe_sg@yahoo.com.sgthank
copcat101 at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 79
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
sahankumar at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 80
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 81
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 82
hi, me too, can you teach me how to.. email: mailtoianfrei@yahoo.com. thanx a lot.. =)
IanFrei at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 83
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 84
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
freakymonk at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 85
can someone please send me as well...?my email: halbion@inwind.itthanks in advance!
layney79 at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 86
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 87
HI everyonecan someone send me the code pleaseI'll b gratefulThanks in advance
m@dI at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 88
hi againmy email address is madi.malik@gmail.comkindly send me the code:)
m@dI at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 89
> 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
TuaSofts at 2007-6-30 21:31:28 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 90
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 91

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

masthan at 2007-6-30 21:31:30 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 92
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 ?
sunnnnny at 2007-6-30 21:31:30 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 93
Hey, please send me the code as well. I am in desprate need. my email id is vinni_ks@yahoo.co.in.
Vineet_Sharma_78 at 2007-6-30 21:31:30 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 94
Please email the code to vidin_dc@yahoo.com
vidindc at 2007-6-30 21:31:30 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 95
Hello,Please send the code to me too ! I would really thank u !Thanks,Abhijit Chandekar
java_abhijit at 2007-6-30 21:31:30 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 96
Hello,I forgot to mention my id."abhijit_enggr@yahoo.com"Plz send me the codeThanks,Abhijit Chandekar
java_abhijit at 2007-6-30 21:31:30 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 97
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!
ailill_84 at 2007-6-30 21:31:30 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 98
sorry I forgot to write my email :ailill84@yahoo.it
ailill_84 at 2007-6-30 21:31:30 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 99
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 100
hellocould you send the code to memy email address is isyhsyt@hotmail.comthanks!
isyhsyt at 2007-6-30 21:31:30 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 101
I also need to send SMS using JAVAemb@netcabo.ptThanks
TripleMoon at 2007-6-30 21:31:30 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 102
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 103
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 104
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 105
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 106
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
hitojavacommunity at 2007-6-30 21:31:32 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 107
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
hitojavacommunity at 2007-6-30 21:31:32 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 108
Is it possible to send SMS using Java?
dineshr at 2007-6-30 21:31:32 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 109
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....?
dineshr at 2007-6-30 21:31:32 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 110
I need the code for sending SMS thro Java...My id is jsrini_raj@yahoo.co.in
srinivasanj at 2007-6-30 21:31:32 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 111

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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 112
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
Punee_Mongia at 2007-6-30 21:31:32 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 113
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
s_u_n_n_y at 2007-6-30 21:31:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 114
Does anyone look at JSR205?
turbohor at 2007-6-30 21:31:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 115

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

gilbird at 2007-6-30 21:31:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 116
i want some deatails about this .who can help me please..
cherankrish at 2007-6-30 21:31:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 117
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
harrior at 2007-6-30 21:31:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 118
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
gublooo at 2007-6-30 21:31:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 119
Please send it to me also My mail id : chiguruvada@gmail.comthanks
chiguruvada at 2007-6-30 21:31:33 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 120
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
Begonia at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 121
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 122

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

KnowNotMuch at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 123
Can U send a java code to send SMS from a computerThank You.Littlerose
littlerose at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 124
Hi all,I also would highly appreciate if someone could send me the code.email: stephan@bardubitzki.comThanks in advance.Stephan
bardubitzki at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 125
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 126
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
BRengachari at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 127
hi guys,Kindly mail this material to me at asim_linfo@yahoo.com.
wrosed at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 128
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
angel420 at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 129

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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 130
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...
new_comer at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 131
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!
jai@jeeva at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 132

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

Begonia at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 133
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
rajesh_koolblue at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 134
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
rajesh_koolblue at 2007-6-30 21:31:35 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 135
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
Begonia at 2007-6-30 21:31:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 136
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 137
plaese send me the code for sending sms with java
waNgetha at 2007-6-30 21:31:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 138
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
vishesh0301 at 2007-6-30 21:31:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 139
Hi urgent! can you email the sms stuff to me thanks a lotzgaunc@gmail.com
zgaunc at 2007-6-30 21:31:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 140
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
shivnaveen at 2007-6-30 21:31:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 141
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 142
please send me code for sending sms through java application
anil_sati79 at 2007-6-30 21:31:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 143
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 144
sorry, i did not post my add.. acehotshot@gmail.com
A_H_S at 2007-6-30 21:31:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 145
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 146
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 147
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
PraveenSharma at 2007-6-30 21:31:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 148
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 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 149
Please send me the code tooaldofad@hotmail.comthanks in advance
uihytffghjk at 2007-6-30 21:31:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...