I open facebook and twitter profile easily from my android application like this:
if (facebookId != null)
{
try
{
long longFacebookid = Long.parseLong(facebookId);
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setClassName("com.facebook.katana", "com.facebook.katana.ProfileTabHostActivity");
intent.putExtra("extra_user_id", longFacebookid);
startActivity(intent);
return;
}
catch (ActivityNotFoundException e)
{
e.printStackTrace();
}
catch (NumberFormatException e)
{
e.printStackTrace();
}
}
But I don't know how open linkedin application? Does somebody know the class name of Linkedin?
Thanks guys!