Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Sending SMS with java? IMPOSIBLE!

0 replies · 2,071 views · Started 27 August 2004

Hello,
Thanks for read this. I am trying to send a messeage with an P-800. I am developping with Personal Java. I can't send the SMS. I use the following sentences...

Address address = DatagramService.parseAddress("wdpsms://+34677286962:5507"😉;
DatagramService service= DatagramService.getService(address);
service.send(new Datagram(("3000480E01"+"HELLO WORLD"😉.getBytes(),address));

I have imported javax.net.datagram.*

please, could you send me any source code example regarding this issue?
Thanks a lot