1

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!

Community
  • 1
  • 1
isxaker
  • 8,446
  • 12
  • 60
  • 87

1 Answers1

3

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

Sanket Kachhela
  • 10,861
  • 8
  • 50
  • 75
  • if i heve link link, then apk is will installed after the user select the setups program. I want to do this in an automatic mode for multiple applications. I want to use javascript function for this. Can help me with this function? – isxaker Oct 09 '13 at 06:53
  • when user click on link than first apk will be downloaded in user device and than if user click on that apk than it will have prompt to install dialog... but if you imeplement google+ in your site than user be able to install directly from your website... – Sanket Kachhela Oct 09 '13 at 06:56