I have spent some time trying to get the SMS API on the 3410 to work, but am rapidly coming to the conclusion that the SMS API is broken. I have read a lot of messages on this group asking whether SMS can be used and a lot of sample code passed around, but I havn't heard anyone saying they _are_ sending SMS messages. I think it would be appropriate for someone from Nokia to clear this up categorically.
When testing on my Nokia 3410, I have created some dummy API interfaces so my test program can build as described in the sample code. I have then downloaded the app to the phone and tested. I've noticed the following:
1. I use the MessageConnection object to create me a TextMessage using the newMessage() method. However, if I call _any_ method on TextMessage from the TextMessage or Message interfaces, the application crashes and I get a screen with the letter 'p' in the top left
2. I created my own PeteMessageClass by implementing interface TextMessage. When I create an instance of PeteMessageClass, the application crashes and I get the letter 'p'. The same thing happens when PeteMessageClass implements interface Message instead of TextMessage.
3. When I use the Connector.open method to create an SMS connection and cast the result to MessageConnection as suggested, the instance is actually of type com.sun.cldc.io.j2me.sms.PrivateMessageConnection not MessageConnection
I suggest that the SMS API is broken. For some reason, any attempt to instantiate an object implementing Message bombs out the application and displays the 'p'. Perhaps there is a firmware upgrade? Unfortunately, there's no way to upgrade the firmware on the 3410.... Maybe nokia should recall my phone? Could someone from Nokia explain or send me a binary that will send an SMS on my 3410?
p

Reply With Quote
;

