最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Auto installation apk files from web page - Stack Overflow

programmeradmin1浏览0评论

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!

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!

Share Improve this question edited May 23, 2017 at 11:57 CommunityBot 11 silver badge asked Oct 9, 2013 at 6:30 isxakerisxaker 9,52613 gold badges64 silver badges92 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 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./+/web/signin/android-app-installs

发布评论

评论列表(0)

  1. 暂无评论