How can I create this Intent to share text .
Details here.
http://developer.android.com/training/sharing/send.html
B4X:
Intent sendIntent =newIntent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT,"This is my text to send.");
sendIntent.setType("text/plain");
startActivity(Intent.createChooser(sendIntent, getResources().getText(R.string.send_to)));
http://developer.android.com/training/sharing/send.html