如何转换一个网页(HTML,CSS,JS)到Android应用 [英] How to convert a web page(html,css,js) into android app

查看:178
本文介绍了如何转换一个网页(HTML,CSS,JS)到Android应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为Android 4.4的应用程序加载和运行网页离线。我要玩NEXUS-5设备上的这个修改后的2048场比赛( http://sanchit18.github.io )作为一个应用程序。如何做到这一点使用eclipse ADT或Android工作室?

I want to make an app for android 4.4 that loads and runs a web page offline. I want to play this modified 2048 game (http://sanchit18.github.io ) on nexus-5 device as an app. How to do that using eclipse adt or android studio?

此外,该网页正确显示图形,但在瓷砖的图像时在web浏览器的移动设备上运行错误地呈现。如何纠正呢?请这两个查询帮助。

Also, the webpage displays the graphics correctly, but the images in the tiles render incorrectly when run on a mobile device in web browser. How to correct this? Please help with these two queries.

推荐答案

PhoneGap的可能是最有效的方法转换一个网页到一个应用程序。它是开源的,并为每个平台生成的应用程序,而不是Android系统。

Nowadays PhoneGap is probably the most efficient way to convert a web page into an app. It is open source and generates apps for every platform, not just Android.

这篇关于如何转换一个网页(HTML,CSS,JS)到Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆