I am currently working on a project where I would like to use a vibration motor located inside an Android phone.
I realized that I set the correct resolution in the manifest and got a vibrator instance:
Vibrator v = (Vibrator) game.getSystemService(Context.VIBRATOR_SERVICE);
will give me access to it. As far as I can see, the only ways to make it vibrate are:
public abstract void vibrate (long milliseconds)
and
public abstract void vibrate (long [] pattern, int repeat)
But I would like to control the power of vibration:
How can I control the power of vibration?
Update:
Should speed be controlled with AC voltage (or PWMing DC)?
source
share