Ringer Mode Vibrate on Android

Asked

Viewed 135 times

3

I wonder if it is possible programmatically call setRingerMode(RINGER_MODE_VIBRATE) without the device vibrate at the time the method is called?

Android has a default behavior when we configure the sound mode: vibrate when we select the RINGER_MODE_VIBRATE mode, directly on the device. And this behavior also repeats when done via code.

When I open the app, the sound mode of the device should be set to RINGER_MODE_NORMAL. But when closing, the previous state should be restored. When restoring RINGER_MODE_VIBRATE status the phone vibrates.

I wish it didn’t vibrate when setting RINGER_MODE_VIBRATE. Is there any way to inhibit this vibration?

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.