我可以使用html5和javascript制作Android应用程序吗? [英] Can i make android apps using html5 and javascript?

查看:177
本文介绍了我可以使用html5和javascript制作Android应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要帮助吗?
我可以使用html5,javascript和css以及
scratch来制作Android应用程序。

I need help? Can i make android apps using only html5, javascript and css and from scratch.


推荐答案

是。使用自适应视图功能构建您的Web应用程序并添加一个json清单文件,让android浏览器将其添加到主屏幕作为一个应用程序。下次用户通过单击主屏幕中的应用程序图标打开您的应用程序时,它将像应用程序一样工作(全屏,没有地址栏等)。您甚至不必将应用程序放在网上商店中。
但与完全成熟的原生应用相比,支持的API是最小的。
支持的api 此处的完整列表。你可能会惊讶地看到一些api就像电池api,离线存储所以看看。

Yes. Build your web application with responsive view features and add a json manifest file to let the android browser add it to the home screen as an app. The next time your users opens your app by clicking on your app icon in the home screen it will work like an app(full screen,no address bar etc.,) . You don't have to even put your app in web store. But the API's supported are minimal compared to a full fledged native app. The complete list of supported api's here . You might be surprised to see some api's like the battery api, offline storage so have a look.

真实世界的例子:
访问你的移动浏览器中的aliexpress添加到主屏幕。

Real world example: visit aliexpress in your mobile browser and add to home screen.

这篇关于我可以使用html5和javascript制作Android应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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