Android的PhoneGap的刷卡式 [英] Android Phonegap swipe type

查看:207
本文介绍了Android的PhoneGap的刷卡式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Android中的PhoneGap的应用程序。我需要在我的应用程序申请了Swype。如何申请?任何人都亲切地指导我。


解决方案

您可以使用jGestures jQuery库(HTTP://jgestures.$c$cplex.com/),或jQuery Mobile的或其他库手势事件<。 / p>

然后,如果你使用jGestures,你赶上轻扫像这样的jQuery('#刷卡')绑定(swipedown',事件处理程序);

我使用这个库,它处理的手势pretty快。

您可以下载脱钩jQuery Mobile的库只为触摸事件了。

I am developing an application in Android Phonegap. I need to apply swype in my application. How to apply? Anybody kindly guide me.

解决方案

You can use jGestures jQuery library (http://jgestures.codeplex.com/), or jQuery mobile or other libraries for gesture events.

Then, if you use jGestures, you catch a swipe like so jQuery('#swipe').bind('swipedown',eventHandler);

I'm using this library and it processes gestures pretty fast.

You can download decoupled jQuery Mobile library only for touch events, too.

这篇关于Android的PhoneGap的刷卡式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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