• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SMS On Phone Using Java Application

 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I am asking for your advice on the topic of SMS using Java Application on phone. I am grateful if you guys can point me in the right direction on this topic thanks alot.

regards
Khai Huat
 
Sukitha R Udugamasooriya
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey

Use WMA.
http://java.sun.com/products/wma/index.jsp
SMS via a MIDlet is very easy.
 
ramzi ghaith
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

yes sendind SMS via Midlet its easy you can open MessageConnection
from javax.wireless.messaging.MessageConnection package.

then create a text massage object from javax.wireless.messaging.TextMessage

for more info see the following URL :
http://www.forum.nokia.com/document/Java_ME_Developers_Library_v1/GUID-71D2FC38-3A7C-4F69-9A2C-C307ABF33D6C/javax/wireless/messaging/package-summary.html


Regards,
Ramzi Ghaith .
 
Amila Jayatillaka
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok here is the code -->


here you go
 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

Thanks for the help.. =D

regards
Khai Huat
 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Do you guys know of any information for the sms MSG_PORT_NO that i can look for??
I am looking for singapore MSG_PORT_NO thanks.

regards
Khai Huat
 
Sukitha R Udugamasooriya
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hey..

"MSG_PORT_NO" is specific to the device, simply it is the place where your application resides.. And d "PhoneNumber" is specific to the country.
cheers
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic