Android Download App from Google Play programatically?

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 (ie no Play store app activity should be visible).Is it possible to use some Api or functionnality to do that? I found two link but I think that enter link description here link. But I think such solution don't work no more.

链接地址: http://www.djcxy.com/p/67448.html

上一篇: 应用程序下载/升级从市场apk程式化

下一篇: Android以编程方式从Google Play下载应用程序?