This example describes the Application sharing feature in Android development. Share to everyone for your reference, specific as follows:
Intent shareintent = new Intent ();
Shareintent.setaction (intent.action_send);
Set type
shareintent.settype ("Text/plain");
Set up shared theme
Shareintent.putextra ("Android.intent.extra.SUBJECT", "share");
Shareintent.putextra (Intent.extra_text, "recommend that you use a program:" +infos.get (position). Getappname ());
Shareintent = Intent.createchooser (shareintent, "share");
StartActivity (shareintent);
LOG.I (TAG, infos.get (position) + "sharing");
Break
More interested readers of Android-related content can view this site: "Introduction to Android Development and advanced Course", "Android Communication Summary", "Android Basic Components Usage Summary", "Android View Summary", " Android Layout layout Tips and a summary of the use of Android controls
I hope this article will help you with the Android program.