hi, i'm trying to develop a midlet application that should be able to send sms to a server. ( i know it would be better to use http protocol, but the request was to build application that send data via sms -__- to a special 4-digit phone number e.g. 8888 or 7799 ). I've read the java.sun and the nokia forum, but i had one thing that confused me. Do you really need to connect to an SMSC in order to send that kind of sms? or is it enough just to write this piece of code( taken from "Extend J2ME to Wireless Messaging", IBM Forum): clientConn = (MessageConnection)Connector.open("sms://+8888"); TextMessage tmsg = (TextMessage)clientConn.newMessage (MessageConnection.TEXT_MESSAGE); tmsg.setAddress("sms://8888"); tmsg.setPayloadText(msgToSend); clientConn.send(tmsg); if you do need to contact an smsc, then how do you set/retrieve the smsc number? fyi, this application should run on Nokia series 60 phone ( if i'm not mistaken, they have supported WMA API). thanks beforehand ^__^ , and i hope you forgive my lousy english.
Destroy anything that stands in your way. Except this tiny ad: