从我的应用程序中打开Google Play以列出我的所有应用程序:Android

从我的应用程序中打开Google Play以列出我的所有应用程序:Android,android,android-intent,Android,Android Intent,我知道如何使用应用程序包名称直接从我的应用程序打开Google play store。但是,我想列出Play store中所有可用的应用程序。我找了很多同样的问题,但没有找到解决问题的方法 要打开特定的应用程序,我们需要将包名传递给Intent。所以我认为我们必须通过开发者ID来列出所有的应用程序。请帮助我在Google Play上显示可用的应用程序。非常感谢你的帮助 使用浏览器导航到您的游戏帐户:f.e https://play.google.com/store/apps/developer?

我知道如何使用应用程序包名称直接从我的应用程序打开Google play store。但是,我想列出Play store中所有可用的应用程序。我找了很多同样的问题,但没有找到解决问题的方法


要打开特定的应用程序,我们需要将包名传递给
Intent
。所以我认为我们必须通过开发者ID来列出所有的应用程序。请帮助我在Google Play上显示可用的应用程序。非常感谢你的帮助

使用浏览器导航到您的游戏帐户:f.e

https://play.google.com/store/apps/developer?id=XY
并打开此url,目的是:

Uri uri = Uri.parse("https://play.google.com/store/apps/developer?id=XY");
                startActivity(new Intent(Intent.ACTION_VIEW, uri));

play store将在浏览器中打开,但用户仍无法下载和安装,因为他/她的设备不会在可安装的play store设备列表中显示为有效设备(请记住,play store的浏览器版本从不下载,而只是通过云安装将其发送到各种设备)。如果没有安装play store,您唯一的选择就是为他们提供一个下载链接以进行侧加载。

这是一个合适的选择

final String dev_name= "DEVELOPER NAME";
                try {
                    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q="+dev_name)));
                } catch (android.content.ActivityNotFoundException anfe) {
                    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://play.google.com/store/apps/developer?id="+dev_name)));
            }

可以用谷歌Play应用程序打开它吗?
final String dev_name= "DEVELOPER NAME";
                try {
                    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q="+dev_name)));
                } catch (android.content.ActivityNotFoundException anfe) {
                    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://play.google.com/store/apps/developer?id="+dev_name)));
            }