Sunday 27 May 2012

Send SMS in Android


Intent intentt = new Intent(Intent.ACTION_VIEW);        
intentt.setData(Uri.parse("sms:"));
intentt.setType("vnd.android-dir/mms-sms");
intentt.putExtra(Intent.EXTRA_TEXT, "");
intentt.putExtra("address", selecteditem_phone);
startActivityForResult(Intent.createChooser(intentt, ""), 0);

No comments:

Post a Comment