android上面的分享功能Intent intentnew Intent(Intent.ACTION_SEND)intent.setType(text/plain) int
android 上面的分享功能
Intent intent=new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_SUBJECT, "123456");
intent.putExtra(Intent.EXTRA_TEXT, "789789");
startActivity(Intent.createChooser(intent,getResources().getString(R.string.share_here) ));
