Actually, I have an application that I am testing using two devices. One LG GW620 and one Samsung Spica. I would like the user to touch the screen, the device vibrates.
In fact, on the LG GW620, the device vibrates when I touch it. But not at the back ...
I was looking for settings on spica, but Vibrator checks, so I do not understand why it does not vibrate.
In my application, I have: <uses-permission android:name="android.permission.VIBRATE"></uses-permission>
and in code:
Vibrator vibrator =(Vibrator)getSystemService(Context.VIBRATOR_SERVICE); vibrator.vibrate(100);
But I think this is not the best thing. I want the device to vibrate for every click, but I donโt know if I need to make a vibrator for every OnClick? Or if I can only make one vibrator for the entire application?
And especially why it doesn't work on Spica?
android
Nanis
source share