摘要:
1.震动是系统的服务,首先需添加震动权限 2.实现震动方法代码 public static void sendVibrater(Context mContext) { // 间隔震动 Vibrator mVibrator = (Vibrator) mContext ... 阅读全文
posted @ 2015-11-03 10:55
Yusuzhan
阅读(469)
评论(0)
推荐(0)
摘要:
public static void sendSound(Context mContext) { //上下文 Uri mUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); //获取系统默... 阅读全文
posted @ 2015-11-03 10:34
Yusuzhan
阅读(1850)
评论(0)
推荐(0)