In android, the share function is using MIME type.
Intent sharingIntent = new Intent(
android.content.Intent.ACTION_SEND);
sharingIntent.setType("text/plain");
sharingIntent.putExtra(Intent.EXTRA_TEXT,
Config_ConstantVariable.sharelink + newsid);
startActivity(Intent.createChooser(sharingIntent,
"Share via"));
How about in Blackberry RIM?
You could try using Send Menu API in BlackBerry Java SDK 7.0 which provides similar functionality but although not feature rich .The official documentation says the following about the Send Menu API.