cancel
Showing results for 
Search instead for 
Did you mean: 

Unity with native android UI

YuriiFirst
Level 2

I want to make app with two Activities, first - VR mode with Unity, second - with native android ui written in java/kotlin. So I faced the problem that I can't combine these in one app by changing com.samsung.android.vr.application.mode or any other way, exept one method, but I am not sure if it is allowed to do so and will I be able to release my app to the store. I use this intent to start activity in 2D mode.

Intent intent =new  Intent(Intent.ACTION_VIEW);
intent.setComponent(new ComponentName("com.oculus.vrshell", "com.oculus.vrshell.MainActivity"));
intent.setData(Uri.parse("com.oculus.vrshell.desktop"));
intent.putExtra("uri", "vrdesktop://com.test.testapp/.MainActivity");

So my question is will I have problem releasing my app to the store with this solution?

0 REPLIES 0