I've seen questions like this, but they were for iPhone/iPad. I'm trying to figure out the same thing except on Android.
I want to be running one game/app. And from within that app, I want to click a button, check to see if a certain app is installed, then run that app. Is there a way to do this on Android?
i know its late to answer but i might help some one else
there are two methods
Use bundle id
AndroidJavaClass up = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
AndroidJavaObject ca = up.GetStatic<AndroidJavaObject>("currentActivity");
AndroidJavaObject packageManager = ca.Call<AndroidJavaObject>("getPackageManager");
Debug.Log(" ********LaunchOtherApp ");
AndroidJavaObject launchIntent = null;
//if the app is installed, no errors. Else, doesn't get past next line
try{
launchIntent = packageManager.Call<AndroidJavaObject>("getLaunchIntentForPackage","com.Company.ProductName");