long pattern[] = {50,100,100,100};
vibrator.vibrate(pattern, 2);
怎么停不下来了 一直在震动 2不就是只重复两次么 无语了
vibrator.vibrate(pattern, 2);
怎么停不下来了 一直在震动 2不就是只重复两次么 无语了
解决方案 »
- Ksoap 调用WEBSERVICE收不到参数
- 安置wooboo时 出现问题
- android 2.3.4 与2.3.5 、2.3.6、2.3.7后续版本都新增哪些新特性呢?谢谢!
- android 黑白棋对战----项目在线咨询------大牛们帮帮忙
- 怎样修改系统自带的程序,比如Launcher!!!求详细方法
- activity返回出错
- Android老油条请进
- 问一个新手的问题~~~很新手的,大家过来解答一下吧,谢谢大家了,如果回答不出来你也不是高手,恩,是这样的,比较基础的问题
- dialog类中如何打开系统图库使用图片
- Windows的C++服务器和Android客户端用Socket通信,为什么会报IOException?
- imageView 刷新不了 求指点啊!!
- android:debuggable默认值是true还是false?
Vibrate with a given pattern. Pass in an array of ints that are the times at which to turn on or off the vibrator. The first one is how long to wait before turning it on, and then after that it alternates. If you want to repeat, pass the index into the pattern at which to start the repeat.Parameters:
pattern an array of longs of times to turn the vibrator on or off.
repeat the index into pattern at which to repeat, or -1 if you don't want to repeat.