• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Vibrator help

brade

Lurker
I set up my Vibrator:

final Vibrator vibe = (Vibrator) getSystemService
(Context.VIBRATOR_SERVICE);

but when I call:

vibe.vibrate(100);

my app force closes...
any ideas?
 
Did you request the permission in the AndroidManifest? <uses-permission android:name="android.permission.VIBRATE" />
 
Back
Top Bottom