2012-06-11 30 views
3

我正在開發Android Phonegap中的應用程序。我需要在我的應用程序中應用swype。如何申請?任何人都會引導我。Android Phonegap刷卡類型

回答

2

您可以使用jGestures jQuery庫(http://jgestures.codeplex.com/)或jQuery手機或其他庫進行手勢事件。然後,如果你使用jGestures,你可以像jQuery('#swipe')那樣抓取一個swipe。bind('swipedown',eventHandler);

我正在使用這個庫,它處理手勢相當快。

您也可以下載僅用於觸摸事件的解耦jQuery Mobile庫。