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.
来源:https://stackoverflow.com/questions/13703982/programmatically-download-apk-from-google-play-store