Download and install android app from another android app

后端 未结 1 1465
花落未央
花落未央 2021-01-27 20:38

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? T

相关标签:
1条回答
  • 2021-01-27 21:10

    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);
    
    0 讨论(0)
提交回复
热议问题