1

我在 Google Play 商店中有一个 Android 应用程序。如果他们正在运行以前的版本,我想将用户发送到更新 URL。我正在使用以下 URL 并在他们的浏览器中启动它:

https://play.google.com/store/apps/details?id=com.keko.rabbit.ci.humidity

注意:请不要浏览上面的 URL,因为它是用于解释目的。

UPDATE: 

当我从设备浏览到该地址时,它显示“网页不可用”。位于.....的网页可能暂时关闭或已移至新地址。

更新 2:

由于某种原因,它仍然无法正常工作。并说同样的错误。

Uri uriUrl = getAndroidUpdateURL()); // this returns market://details?id=com.keko.rabbit.ui.humidity
Intent launchBrowser = new Intent(Intent.ACTION_VIEW, uriUrl);
act.startActivity(launchBrowser); 
return;
4

0 回答 0