1

我想在Gear VR应用程序中启动一个活动

我是否使用意图URI?例如,如果我想用 lat long 打开一张地图,我会写一些类似的东西

String uri = String.format(Locale.ENGLISH, "geo:%f,%f", latitude, longitude);
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri));
context.startActivity(intent);

如何Samsung Gear VR / Oculus通过我的 android 应用程序的意图打开应用程序?

4

1 回答 1

0

根据 oculus,这不是允许的行为。检查以下链接。 https://forums.oculusvr.com/community/discussion/comment/619743#Comment_619743

于 2018-06-16T01:40:26.007 回答