Hello! I'm newbie to Java, I need to find out if a mobile phone is able to send SMS.. I think the most logical way is to check the version of WMA package on the device. So how can I do it? Or may be you know other ways to learn this?
Actually, you should have some trouble if your MIDlet if it runs on a non-WMA device and your code references WMA classes (because the device does not have support for it).
I think class verification will fail on MIDlet startup if you do it. You must patch the MIDlet build not to include WMA related code when the target device does not support WMA.
Anyway a simple way to check if SMS is supported is trying to open a SMS connection with Connector.open(). If ConnectionNotFoundException is thrown you know SMS is not supported. [ October 19, 2006: Message edited by: Eduardo Marques ]