Skip to main content

Accessing Native SMS Editor

5 replies [Last post]
technolgia
Offline
Joined: 2009-03-09
Points: 0

Hi,

Is it possible to access the phone's message editor from the application to send an SMS?
Can someone help me with this.


Thanking you,
Regards,
S.A.Norton Stanley

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jaywayjohan
Offline
Joined: 2008-06-18
Points: 0

Hi,

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.

Regards
Johan

technolgia
Offline
Joined: 2009-03-09
Points: 0

Hi,
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?

[b]
Thanking you,
Regards,
S.A.Norton Stanley[/b]

jaywayjohan
Offline
Joined: 2008-06-18
Points: 0

Hi,

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.

Regards
Johan

technolgia
Offline
Joined: 2009-03-09
Points: 0

Hi,
Thank you. The platformRequest() worked for me on E71. But i read that it wont be supported on all devices.

[b]Thanking you,
Regards,
S.A.Norton Stanley[/b]

jaywayjohan
Offline
Joined: 2008-06-18
Points: 0

Did you try the content handler API?

It is a shame that the platformRequest() has support for different functionality on different phones.

Regards
Johan