03-18-2010 06:33 AM
Hello to all,
i am working on one applicaion in which i have to send SMS through programme but whenever i am using the below code to send the message then i am getting the NullPointerException on Invoke.invokeApplication method.
msgcon = (MessageConnection)Connector.open("sms://");
msgout = (TextMessage) msgcon.newMessage(MessageConnection.TEXT_MESSAGE);
msgout.setPayloadText("I am busy. Call u later");
can anybody tell me that what is the problem.
with thanks and regards
03-18-2010 02:38 PM
Are you testing using BlackBerry device software version 5.0? If so, please refer to the following issue in the Issue Tracker.
Null text message or payload when launching SMS window
03-19-2010 12:49 AM
thanks msohm for ur reply.
sorry for incomplete information.
i am testing this application on 5.0 JDE simulator-9000. there it is giving the nullpointer exception at the time of Invoke.invokeApplication() method. what is going wrong.
plz try to help me.