I would like to open Samsung Internet Browser in VR from my Unity App. I wrote a code which opens the browser but the URL doesn't load. In that code I use "com.sec.android.app.svrbrowser" to identify the application.
If I use "com.sec.android.app.sbrowser" without vr and without VR mode (so a normal appplication) then the normal browser opens and loads my URL.
So my problem is that I want to open the VR browser with a specific URL, not in blank.
I would appreciate it any help. Thanks.
The code: {
bool fail = false;
string bundleId = "com.sec.android.app.svrbrowser"; // your target bundle id
AndroidJavaClass up = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
AndroidJavaObject ca = up.GetStatic<AndroidJavaObject>("currentActivity");