摘要: 让手机震动,需要创建Vibrator对象,通过调用vibrate方法来达到震动的目的。java.lang.Object ↳android.os.Vibratorvoidcancel()Turn the vibrator off.booleanhasVibrator()Check whether the hardware has a vibrator.voidvibrate(long[] pattern, int repeat)Vibrate with a given pattern.voidvibrate(long milliseconds)Turn the vibrator on.在Vibr 阅读全文
posted @ 2011-09-17 16:24 Reaver21 阅读(3070) 评论(1) 推荐(1)