Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatically download APK from google play store

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

like image 862
user1875798 Avatar asked Dec 04 '12 13:12

user1875798


1 Answers

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

like image 60
Ahmad Avatar answered Oct 10 '22 07:10

Ahmad