Is it possible to access the phone's message editor from the application to send an SMS?
Can someone help me with this.
as far as I know there is no standardized way to access the native SMS in Java ME. The JSR-205/120 is used for sending/receiving SMS and MMS, but no access to the native stuff. JSR-266 is the closest you get, it gives you access to the native mailboxes.
Thank you. Can we use platformRequest() and pass sms:// protocol to invoke sms? What are the valid parameters that can be passed to the Midlets platformRequest() method?
it might work to use sms:// to start the SMS editor. However this is not standardized. The platformRequest() only defines the following urls as standard:
1. JAD/JAR - Install the MIDlet
2. tel:// calls the specified number
It could maybe be possible to use the ContentHandler API to start the SMS editor, but this is not standardized. You must test this on the specific device that you are interested in.
Thank you. The platformRequest() worked for me on E71. But i read that it wont be supported on all devices.
Did you try the content handler API?
It is a shame that the platformRequest() has support for different functionality on different phones.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.