我在我最新的应用程序中有我的其他应用程序的链接,我以这种方式打开它们.
Uri uri = Uri.parse("url");
Intent intent = new Intent (Intent.ACTION_VIEW, uri);
startActivity(intent);
Run Code Online (Sandbox Code Playgroud)
此代码会打开Google Play商店的浏览器版本.
当我尝试从手机打开时,手机会提示我是否要使用浏览器或谷歌播放,如果我选择第二个,则会打开谷歌播放商店的移动版本.
你能告诉我这怎么可能立刻发生?我的意思是不要问我,而是直接打开谷歌播放的移动版本,我看到的那个直接从手机打开它.