Anto Anto - 1 year ago 113
Android Question

Open external playstore application

I would like to open, by a button click, an external application. In my case, this external application, is Quicksupport by teamviewer.

is Possible?


Answer Source
mSomeButton.setOnClickListener(new View.OnClickListener() {
        public void onClick(View v) {
            Intent intent = getPackageManager()
                  .getLaunchIntentForPackage(""); //Teamviewer's app ID
            if(intent != null) {
                Bundle extras = new Bundle(); // if you need to pass some info
                extras.putString(key1, "");
                extras.putString(key2, "ldkjgkjgioerjijbmgjQ2349487598");

For gist snippet, refer to this link.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download