Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is highly dependent on the Mobile OS you're using. Are you using Windows Mobile, Android OS, BlackBerry OS? </p> <p>If you're using Android, then you should use the built in <a href="http://developer.android.com/reference/android/telephony/SmsManager.html" rel="nofollow"><code>SmsManager</code></a> to do that. The <code>SmsManager</code> can do the following:</p> <blockquote> <p>Manages SMS operations such as sending data, text, and pdu SMS messages.</p> </blockquote> <h2>Update:</h2> <p>Since you're using Symbian OS, then check out the <a href="http://www.developer.nokia.com/Community/Wiki/SMS" rel="nofollow">documentation for more information on sending SMS messages</a>. I assume that you can figure out the rest (i.e. how to get the text fields for the number and the message, etc.)</p> <p>Here is an example from the Symbian OS documentation: </p> <pre><code>public boolean sendSms(String number, String message){ boolean result = true; try { //sets address to send message String addr = "sms://"+number; // opens connection MessageConnection conn = (MessageConnection) Connector.open(addr); // prepares text message TextMessage msg = (TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE); //set text msg.setPayloadText(message); // send message conn.send(msg); conn.close(); } catch (SecurityException se) { // probably the user has not allowed to send sms // you may want to handle this differently result = false; } catch (Exception e) { result = false; } return result; } </code></pre> <p>The above snippet came from the guide on <a href="http://www.developer.nokia.com/Community/Wiki/How_to_Send_Text_SMS_in_Java_ME" rel="nofollow">"How to Send Text SMS in Java ME"</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload