I'm using Sun WTK to run a midlet that needs to send and optionally receive SMS. WMA console can be used to send and receive messages to the midlet but I'd like to do the same thing using my own application.
I have done some sniffing, and noticed that the messages are sent by UDP from the WMA console to the emulator.
After digging inside the jars in WTK I was able to figure out how to send and receive SMS. I had to include the jars
kvem.jar
andkenv.zip
in the application classpath. Tested under Linux.