![]() |
What's the difference between Email and SMS message composing using Java api's I have been using the following to create an email message: Quote:
Thanks |
You need the other Message class: javax.wireless.messaging.Message |
Code to send sms I have used the following code to send the sms: MessageConnection _dc = (MessageConnection)Connector.open("sms://"+number); Message sms = _dc.newMessage(MessageConnection.TEXT_MESSAGE); TextMessage sms2 = (TextMessage)sms; sms2.setPayloadText(msg); _dc.send(sms2); |
| All times are GMT -5. The time now is 07:04 AM. |
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.