Is it possible to increase the strength of the alarm vibration?
-
9what is the purpose? ;-) (just curious) – Marek Sebera Jan 18 '12 at 08:35
-
4there's an app Dildroid that does exactly that ;-) – rDroid Jan 18 '12 at 09:26
-
1haha thanks but it's not for a dildo :p, when I connect the phone with usb the phone vibrates much stronger than when I use it in my app – Mike Bryant Jan 18 '12 at 09:31
-
If you replace the motor by a more powerful one... http://www.youtube.com/watch?v=ykpa5r1bWeE – Jav_Rock Jan 18 '12 at 09:36
3 Answers
apparently not,
under android.os.Vibrator, you can set the pattern as well as the duration
vibrate(long[] pattern, int repeat)
vibrate(long milliseconds)
my guess is that different patterns can be used to "simulate" a stronger vibrate. (on,off,on,off) rather than (on, off, off, off, on).
also a disharmonious pattern may be more effective than a pattern with a fixed rhythm.

- 12,479
- 7
- 64
- 91
The Vibrator Class does not allow for this, you can only set the duration.

- 22,768
- 9
- 46
- 50
from API 26 onwards, you can change the strength by setting the amplitude of VibrationEffect
https://developer.android.com/reference/android/os/VibrationEffect.html
simply create VibrationEffect effect = VibrationEffect.createOneShot ( milliseconds, amplitude);
and then set the effect in the vibrator instance.
vibrator.vibrate(effect);
more details here
https://developer.android.com/reference/android/os/Vibrator.html#vibrate(android.os.VibrationEffect)

- 12,479
- 7
- 64
- 91