Detect the device is vibrating?
I have used the below code to vibrate the device. public void vibrator() { try { Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); vibrator.vibrate(5000); } catch (Exception e) { Log.d(TAG, "vibrator exception: " + e); } } Can we programmatically detect this event (check is device vibrating)? antoniodvr No, you can't. Same question is here . You can check only if the device vibrating is supported: Vibrator mVibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); boolean hasVibrator = mVibrator.hasVibrator(); See more: Android Vibrator Introduction The