如何将jQuery Mobile(JavaScript文件)集成到html代码中 [英] how to integrate jQuery Mobile (JavaScript file) into html code

查看:103
本文介绍了如何将jQuery Mobile(JavaScript文件)集成到html代码中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我是使用jQuery开发移动网络应用程序的新手。

我的问题是如何将jQuery Mobile(JavaScript文件)集成到HTML代码中。 />
jQuery CDN托管文件在用户上网时使用。根据我的理解,jQuery javascript文件有助于在用户互联网关闭时运行应用程序或只是他/她想要在离线模式下浏览应用程序。对吗??

当我完成我的应用程序phonegap给我设施转换(.htm,.html,.ccs,.js)到不同的平台。在这个我怎么能转换这个JavaScript存入.apk文件。所以它成为一个单独的应用程序的两个apk。我怎么做到这一点。



最后是托管移动网络应用程序所需的任何服务器。或者我可以直接使用phonegap转换成不同的平台并上传到(Playstore等)







感谢高级

Hello,
I am new in Mobile web app development using jQuery.
My question is how to integrate jQuery Mobile (JavaScript file) into html code.
jQuery CDN hosted files is use when users internet is on. According to my understanding the jQuery javascript file is help to run app when users internet is off or just he/she want to surfing the app in offline mode . Right??
and when i am done with my app phonegap give me facility to convert(.htm,.html,.ccs,.js) into different platform.During this how can i convert this javascript file into .apk . So its become a two apk for one single app. so how i am done with this.

At last is there any server required to host Mobile web app. Or I can direct use phonegap convert into different platform and upload into (playstore etc.)



Thanks in advanced

推荐答案

Firslty你不需要担心将jquery集成到html中,所有的东西都会被phonegap照顾。

您是否尝试使用phonegap命令行创建应用程序?

如果不是,请尝试phonegap create yourappname,然后尝试使用

phonegap local构建它build yourplatformname。

yourplatformname可以是android / ios / wp8 / wp7等...



你可以参考phonegap 文档了解更多信息
Firslty you don't need to worry about the integration of jquery into html, all the things will taken care by phonegap.
And have you tried to create app using phonegap command line?
If Not then try "phonegap create yourappname", then try to build it using
"phonegap local build yourplatformname".
yourplatformname can be android/ios/wp8/wp7 etc...

you can refer phonegap documentation for further info


这篇关于如何将jQuery Mobile(JavaScript文件)集成到html代码中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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