Download and install android app from another andr

2019-03-04 09:15发布

Is it possible to download and install android application(from Google Play) from another android application ? If so, could you please provide an example how to implement it? Thanks !

1条回答
啃猪蹄的小仙女
2楼-- · 2019-03-04 09:52

You can do this with the help of the play store application:

    Uri uri = Uri.parse("market://details?id=" + "the.package.name");
    Intent intent = new Intent(Intent.ACTION_VIEW, uri);
    activity.startActivity(intent);
查看更多
登录 后发表回答