start SMS Intent : SMS « Network « Android

start SMS Intent

import android.content.Context;
import android.content.Intent;
import android.text.Html;

class UIHelper {
  public static void startSMSIntent(final Context ctx, final String subject, final String source, final String url) {
    final StringBuilder body = new StringBuilder();
    if (subject != null && !"".equals(subject.trim()))
    body.append("\n\nRead on:\n ").append(url);

    final Intent sendIntent = new Intent(Intent.ACTION_VIEW);
    sendIntent.putExtra("sms_body", body.toString());


Related examples in the same category

1.SMS Intent
2.Sends an SMS message to another device
3.extends BroadcastReceiver to create SMS Receiver
4.SMS Inbox Demo
5.SmsMessage Demo
6.Sms Messaging Demo