i launch the Default SMS Activity from my Android app in order to send an SMS , using the following Code :
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("sms:"));
startActivity(intent);
but i want to Set some text directly in my EditText which contain the text message ( when i launch the Default SMS Activity , the EditText is empty ) . how can i do this ?
Regards,
Its really simple. Just add
sms_bodydata to the intent