((Vibrator) getSystemService(Context.VIBRATOR_SERVICE)).vibrate(200);

You also need to request vibrate permission at manifest:
    <uses-permission android:name="android.permission.VIBRATE" />

You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

ATTENTION: Android-Beginners will be permanently disabled on August 9 2010. For 
more information about this change, please read [http://goo.gl/xkfl] or visit 
the Group home page.

Try asking and tagging your question on Stack Overflow at

To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to