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.
精彩评论