Quantcast
Channel: Just for fun ;-)
Viewing all articles
Browse latest Browse all 33

android vibrator

$
0
0
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 all articles
Browse latest Browse all 33