• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sample code to send an SMS ?

 
sharmila raman
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a problem in sending an SMS .Port number needs to be specified ,signing of MIDlet is absolutely necessary to send an SMS is what I happened to read .I�m completely new to J2ME it will be really great if anyone can provide me with a sample code to send an SMS using J2ME
Thanks in advance
[ June 18, 2007: Message edited by: sharmila raman ]
 
Ramender Mall
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried using the wireless messaging api? I am not aware of the signing part, as I already had the signing certificate and it works fully well in the signed app..
BTW, you dont need to specify a port number if you are using wireless messaging api.




- Ramy..
[ June 18, 2007: Message edited by: Ramender Mall ]
 
sharmila raman
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot . It worked fine without the port number
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WMA is the standard way to go, if you want to target a variety of phones.

Btw, if you don't use port numbers, that means you'll be addressing the remote phone's SMS inbox. If you want a MIDlet to catch these SMS messages, then you must use a port.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic