isxaker
isxaker

Reputation: 9506

Auto installation apk files from web page

My question is addition for this question. I want to install basic application set on android device after hard reset. I want to automatically install the set of apk files from web page.

Example i have a html page.

<html>
<head>
    <script>
        function installApk() {
            var arr = ["LogMeIn.apk", "TeamViewer.apk", "Mobile Iron.apk"];
            for (var i = 0; i < arr.length; i++) {
                window.open("../Software/" + arr[i]);
            }
        }
    </script>
</head>
<body onload="installApk()">
<p>Example install</p>
</body>
</html>

But it's wrong. Anyone can help? Or may suggest a different solution!

Upvotes: 1

Views: 8370

Answers (1)

Sanket Kachhela
Sanket Kachhela

Reputation: 10876

You can't install directly as google play does. this is anti android system

but if you want to install after google account login via your webpages than refer this https://developers.google.com/+/web/signin/android-app-installs

Upvotes: 3

Related Questions