title: Android: Set power of vibration
body: <p>I'm currently working on a project, where I'd like to use the vibrating motor situated inside the Android phone. </p>
  
  <p>I'd figured out, that setting the right permission in the manifest and getting an instance of the vibrator:</p>
  
  <pre><code>Vibrator v = (Vibrator) game.getSystemService(Context.VIBRATOR_SERVICE);
  </code></pre>
  
  <p>would give me access to it. As far as I can see the only methods to make it vibrate are:</p>
  
  <blockquote>
    <p>public abstract void vibrate (long milliseconds)</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>public abstract void vibrate (long[] pattern, int repeat)</p>
  </blockquote>
  
  <p>Yet I'd like to have control the power of the vibration:</p>
  
  <p>How can I control the power of the vibration?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>Shouldn't the speed be controlled by varying voltage (or PWMing DC)?</p>