Hi
I have an app to send sms. It's sending messages to all phones. But when i tried to send it to 6220 through my app, the receiver phone is not getting the message. The app is not throwing any exception also...I think it's sending from app..
The app is able to send sms to low end phones like 1100 and the message is received properly. And the app can send messages to high end phones like N91 also.
This is the code:
String address = "sms://" + destinationPhoneNo+ ":0";
MessageConnection smsconn = (MessageConnection) Connector.open(address);
TextMessage txtmessage = (TextMessage) smsconn
.newMessage(MessageConnection.TEXT_MESSAGE);
txtmessage.setAddress(address);
txtmessage.setPayloadText(message.getString());
smsconn.send((Message) txtmessage);
Am i going wrong somewhere....Do i need to set some header information for sending sms. Plz help....

Reply With Quote

