I want to add a functionality on my app to start Facebook, Twitter,
Gmail or Email official apps of the Phone programatically.
I tested this way
public void share() {
Intent shareIntent = new
Intent(android.content.Intent.ACTION_SEND);
shareIntent.setType("text/plain");
shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
"menu share subject");
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, "menu
share body");
startActivity(Intent.createChooser(shareIntent, "menu share
intent"));
}
But this way haves some problems:
- It leaves you to select Bluetooth (and i dont want it)
- It don't leaves you to select the official Email app of the phone
Can someone give me a solution please?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en