- Intent intent=new Intent(Intent.ACTION_SEND);
- intent.setType("text/plain");
- intent.putExtra(Intent.EXTRA_TEXT, "I would like to share this with you...");
- startActivity(Intent.createChooser(intent, getTitle()));
- //该片段来自于http://www.codesnippet.cn/detail/211120137381.html
来源: http://www.codesnippet.cn/detail/211120137381.html