Quantcast
Viewing latest article 8
Browse Latest Browse All 33

android vibrator

To make vibrator works you need make few steps:

1. in sources:

Vibrator vb = ( Vibrator )getApplication().getSystemService( Service.VIBRATOR_SERVICE );
vb.vibrate( 1000 );

2. in application manifest:
"uses-permission android:name="android.permission.VIBRATE"/"

Viewing latest article 8
Browse Latest Browse All 33