I coded an intent to start twitter app but it's throwing ActivityNotFoundException
even when I have the layest version of twitter installed.
My Code
Intent twitShare = new Intent()
.setType("text/plain")
.setPackage("com.twitter.android")
.setData(Uri.parse(url))
.setAction(Intent.ACTION_SEND);
startActivity(twitShare);
Please , what am I doing wrong?