System.out.println("rece_msg:"+str);//打印出接收到的信息 if(str=="NO"||str=="WM"||str=="MM"){ Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); long[] pattern = new long[] { 100, 10, 100, 1000 }; vibrator.vibrate(pattern, -1); }//不能通过调用以上代码实现振动
目前暂无任何回答
- 0 回答
- 0 关注
- 734 浏览
添加回答
举报
0/150
提交
取消