简体   繁体   English

从Google Play商店以编程方式下载APK

[英]Programmatically download APK from google play store

I am creating an android app which depends on some other android apps. 我正在创建一个依赖于其他一些Android应用程序的Android应用程序。 So if these dependent apps are not already there on the users mobile, I would like to download them programmatically from play store. 因此,如果这些依赖的应用程序尚未在移动用户上出现,我想以编程方式从Play商店下载它们。 But during this process I don't want the control to go to the Play store app (ie no Play store app activity should be visible). 但是在此过程中,我不希望控件转到Play商店应用(即,不应看到任何Play商店应用活动)。 Is is possible to achieve this using some service, google API? 可以使用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. 我尝试了市场api,它起作用了,但是现在在安装时,我会弹出“未知来源”。 Is it possible to get rid of form this ?? 有可能摆脱这种形式吗? What is difference between downloaded apk from play store app and market api ?? 从Play商店应用下载的APK和Market api有什么区别?

市场上有一个非官方的API就是您可以使用它下载应用程序的方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM