String number = "9960980419"; 
    startActivity(new Intent(Intent.ACTION_VIEW, Uri.fromParts("sms", 
number, null)));

     and ofocurse dont forget permission <uses-permission 
android:name="android.permission.SEND_SMS"></uses-permission>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to