I call a intent to Twitter to share a text. Without changing the code, from one day to another, this call has stopped working.
The Intent is:
Intent share = new Intent(Intent.ACTION_VIEW);
share.setClassName("com.twitter.android",
"com.twitter.android.PostActivity");
share.setType("text/plain");
share.putExtra(Intent.EXTRA_TEXT, getString(R.string.app_share_twitter));
share.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
startActivityForResult(share, SHARE_TWITTER);
Thanks
In July 2014, I've found that the Twitter activity has once again changed name, it is now called "com.twitter.android.composer.ComposerActivity".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With