문제

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

도움이 되었습니까?

해결책

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).

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top