Hi everyone,
I’m developing an automation app that allows users to switch between different sound profiles based on their needs, such as “Calls Only”, “Vibration Only”, “Sound Only”, or “Favorites Only”—a very powerful feature.
Android provides a way to disable all vibration (calls, notifications, haptics, etc.) using the following code:
Settings.System.putInt(oContext.getContentResolver(), Settings.System.VIBRATE_ON, value);
// value = 1 → Vibration ON
// value = 0 → Vibration OFF
This code works perfectly on most devices, including Pixel, Xiaomi, and others, but it is completely ignored on Samsung devices.
Does anyone know how to properly disable vibration on Samsung devices? I need a global switch that turns off all vibrations.
This feature is essential for creating a “Quiet” profile, where the volume is kept low, and vibration is disabled. Currently, the only workaround I have is enabling Do Not Disturb (DND), but that’s not ideal. Vibration can be disruptive, especially when the phone is placed on a desk at work or during the night.
Additionally, if there’s a way to adjust vibration intensity programmatically, that would be extremely useful as well.
This image shows the main vibration toggle on a Pixel device running Android 16:
Thanks in advance for any insights!