开发者

How to make a phone vibrate with sancha-touch?(Android)

I use Sancha-touch + PhoneGap to create my application and test it on a phone (Android2.1).

Does someone know the code to make the phone开发者_开发技巧 vibrate (still using Sencha-touch)?


Looking at the PhoneGap documentation: PhoneGap API Doc: Notification


I just solved an error identical to this one. I was incorrectly assuming that the phonegap-1.3.0.js for iPhone was identical to the phonegap-1.3.0.js for Android.

I had a simple tool-chain that was copying the iPhone's phonegap.js file into the Android app, automatically. This effectively disabled all Phone Gap functions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜