Class that operates the vibrator onthedevice.
If your process exits, any vibration you started will stop.
如果你的进程退出了,那么由这个进程带来的振动都会停止。
To obtain an instance ofthesystem vibrator,
call getSystemService(Class) with VIBRATOR_SERVICE asthe argument.
要想调用一个vibrator的实例,调用方法getSystemService(),参数为VIBRATOR_SERVIECE.
市面上林林总总振动棒这么多,却不好意思购买---如何利用已有的手机,开发出一个振动器出来呢,嘿嘿嘿嘿。成为程序员,让女朋友欲罢不能..........很多时候,程序需要让手机振动一下,比如说打游戏时,适时的振动会增加真实感,或者接到电话,振动会帮助我们转移注意力到手机上....安卓手机的振动,主要是靠类Vibrator来管理的。帮助文档是这么写的:Class that operates the v