在phonegap安装jquery手机 [英] Installing jquery mobile in phonegap

查看:129
本文介绍了在phonegap安装jquery手机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

正确使用JQuery-Mobile / Phonegap的方法?

我必须安装jquery mobile到phonegap,以便它包含在APK文件?我在HTML文件中使用google jquery库,并希望他的应用程序功能也离线。

do I have to install jquery mobile into phonegap so that it is included into the APK file? I'm using in the HTML file the google jquery library and would like to have he app functioning also offline.

还有phonegap工作速度很慢,是否有其他人过期?

also phonegap is working very slowly, is anybody else expiriencing this?

/ p>

thanks a lot...

推荐答案

您不需要安装它,只需按照教程并将jQM文件复制到assets / www目录并重建android项目可以容纳phonegap图书馆。

You dont need to install it, just follow the tutorial and copy jQM files into assets/www directory and rebuild android project so it can accommodate to phonegap libraries.

教程将帮助你学习如何创建一个apk文件,但从你的第二个问题,我想你知道该怎么做。

This tutorial will help you learn how to create an apk file, but from your second question I think you know what to do.

第二个问题慢慢不是做手机,而是因为jQuery手机。它仍然是一个相当缓慢的移动设备的框架。 iPhone 5+是目前最好的移动平台的jQM,为Android只有4+版本。查看图表,它们表示手机浏览器及其桌面版本之间的jQuery性能差异。注意手机和桌面浏览器之间的区别,这是电话间歇缓慢的主要原因。

Regarding your second question slowness is not do to phonegap but because of jQuery mobile. It is still a rather slow framework for mobile devices. iPhone 5+ is currently best mobile platform for jQM, for android only 4+ version. Look at this graphs, they represent jQuery performance differences between mobile phones browsers and their desktop variations. Notice a difference between mobile phones and desktop browsers, that is a main reason for phonegap sluggishness.

这篇关于在phonegap安装jquery手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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