KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm able to start Twitter application (if it exists on the phone), yet I can't find how to automatically display a specific user profile. Something like this works for Google+: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setClassName("com.google.android.apps.plus", "com.google.android.apps.plus.phone.UrlGatewayActivity"); intent.putExtra("customAppUri", "USER_ID"); Here is the Facebook way: Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("fb://profile/USER_ID")); startActivity(intent); There should be the same kind of solution when I start Twitter app ? Intent intent = getPackageManager().getLaunchIntentForPackage("com.twitter.android"); intent.putExtra("WHAT_TO_PUT_HERE?", "USER_ID"); startActivity(intent);
Tags (comma-separated)
Save Edits
Cancel