Wieux answered this question, it was almost the right decision, he only had a typo, because of which his solution did not work. For some reason, someone deleted Wieux's answer and my correction. So I'm writing a solution again.
Intent linkedinIntent = new Intent(Intent.ACTION_VIEW); linkedinIntent.setClassName("com.linkedin.android", "com.linkedin.android.profile.ViewProfileActivity"); linkedinIntent.putExtra("memberId", <member id>); startActivity(linkedinIntent);
That is, this solution is not complete, because it works only for people, not for companies, but I still do not understand all the different forms of URLs for links. This solution will only work if you have memberId as a number, you should put String, although not for long, as the memebr identifier.
Hope this helps.
source share