以编程方式从 Google Play 商店下载 APK [英] Programmatically download APK from google play store

查看:40
本文介绍了以编程方式从 Google Play 商店下载 APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个依赖于其他一些 android 应用程序的 android 应用程序.因此,如果用户移动设备上还没有这些依赖的应用程序,我想以编程方式从 Play 商店下载它们.但在此过程中,我不希望控件转到 Play 商店应用程序(即不应看到 Play 商店应用程序活动).是否可以使用一些服务,谷歌 API 来实现这一点?我该如何实施?我尝试了市场 api 并且它起作用了,但是现在在安装时我弹出未知来源".有可能摆脱这种形式吗??从 Play 商店应用下载的 apk 和市场 api 有什么区别??

解决方案

有一个非官方的 市场API:而是您使用它下载应用的方式.>

I am creating an android app which depends on some other android apps. So if these dependent apps are not already there on the users mobile, I would like to download them programmatically from play store. But during this process I don't want the control to go to the Play store app (i.e. no Play store app activity should be visible). Is is possible to achieve this using some service, google API? How do I go about implement this? I tried the market api and it worked but now while installation I am getting "unknown sources" pop up. Is it possible to get rid of form this ?? What is difference between downloaded apk from play store app and market api ??

解决方案

There is an unofficial market API: And this is how you can download apps with it.

这篇关于以编程方式从 Google Play 商店下载 APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆