Question

I know installing an app thro other places like pc/web is possible , Sideloading android From Your PC or possible through manual login into google play and installing.

Is there a way to achieve the same through code/google play APIs? I dont want to use adb or unknown sources.

E.g I want to install/push watsapp thro code from my pc/web

Was it helpful?

Solution

Yes that's possible, but not officially.

You can login to the google play website from code and simulate a button click there. This is a sample application doing exactly that, including login via device's google account. I don't know if it's still working, cause it's build against the old google play website, but I assume the source code could be helpful anyways (documentation is in japanese, use google translate for that).

OTHER TIPS

If you don't have the 'install from unknown sources' selected on the client device, you will NOT be able to sideload apps to a device under any circumstances.

Otherwise if this is enabled, there are very few restrictions on how to do this (pretty much any way you can copy an APK file onto a device will allow it to be installed).

There is a new Android emulator for pc called andyroid - www.andyroid.net that allows you to run any google play app directly from your desktop

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top