Joke Collection Website - Public benefit messages - What does android ACTION_SENDTO mean?

What does android ACTION_SENDTO mean?

Intent.ACTION_SENDTO

String: android.intent.action.SENDTO

Description: Send information, including various message types

//Send a short message

Uri uri = Uri.parse("smsto:13200100001");

Intent it = new Intent(Intent.ACTION_SENDTO, uri);

it.putExtra("sms_body", "Message content...");

startActivity(it);

//Send MMS, the device will prompt you to select the appropriate one Program sends

Uri uri = Uri.parse("content://media/external/images/media/23");

//Resources (images or other resource)

Intent intent = new Intent(Intent.ACTION_SEND);

intent.putExtra("sms_body", "content");

intent.putExtra (Intent.EXTRA_STREAM, uri);

intent.setType("image/png");

startActivity(it);

//Email

p>

Intent intent=new Intent(Intent.ACTION_SEND);

String[] tos={"android1@163.com"};

String[] ccs= {"you@yahoo.com"};

intent.putExtra(Intent.EXTRA_EMAIL, tos);

intent.putExtra(Intent.EXTRA_CC, ccs);

intent.putExtra(Intent.EXTRA_TEXT, "The email body text");

intent.putExtra(Intent.EXTRA_SUBJECT, "The email subject text");

intent .setType("message/rfc822");

startActivity(Intent.createChooser(intent, "Choose Email Client"));