
TextView tv;
final String str = getIntent().getExtras().getString("extra"); tv.setText(str);
Intent i = new Intent(Intent.ACTION_SEND); i.setType("text/*"); i.putExtra(android.content.Intent.EXTRA_TEXT, str); startActivity(Intent.createChooser(i, "Share using"));
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
