Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
140 views
in Technique[技术] by (71.8m points)

android - apk installation from web page

I'm looking for a sample web page (html code) with a link that will install an apk file directly on my phone by clicking on the link.

question from:https://stackoverflow.com/questions/2328459/apk-installation-from-web-page

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Just link to the apk file in the HTML. It couldn't be any simpler.

<a href="path to my .apk file">link</a>

You will have to have "install apps from unknown sources" enabled on your phone.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...