This post presents a snippet for sending short text messages from J2Me applications. The com.sun.midp.io.j2me.sms package provides an API for the Short Message Service Messaging system and allows MIDlet to access SMS functionality on a GSM mobile device. You need javax.wireless.messaging.sms.send premission to send SMS messages from your J2ME application. The sample code is presented below: Java Code: sender = (MessageConnection)Connector.open("sms://"); ...
sender = (MessageConnection)Connector.open("sms://");
Size Reduced for Images in PDF &...
05-15-2013, 05:53 PM in Java Software