I try to send and receive sms in j2me but when Netbeans suggest method for me it also adds an exception in it:
ms.setMessageListener(new MessageListener() {
public void notifyIncomingMessage(MessageConnection mc) {
throw new UnsupportedOperationException("Not supported yet.");
}
});
I nearly sure that j2me WMA support this method. So what is the problem that Netbeans throw this exception?
NetBeans is just creating a template for you to edit, you can have your own implementation in the place of unsupported exception.