How to control the vibrate's strength: 1) Carefully disassemble your device. 2) Locate the vibrator component. Generally this will be a very tiny motor with an unbalanced flywheel weight. 3) Alter the weight -- either removing or adding material as desired, to change the degree of unbalance and the total mass. 3a) You may also CAREFULLY introduce a SMALL amount of friction or damping. This is a chance to exercise your creativity! 4) Carefully reassemble the device. 5) Kiss your warranty goodbye.
Seriously, if you've got an old unneeded device lying around, tear it apart and see how it's put together; it's very educational! Given how the vibrate function works on every device I've seen, you can't control it. In theory, you could control motor speed -- but that would make it less energy-efficient, so don't expect to ever see that. One could envision an oscillating weight in a voicecoil arrangement -- effectively, a linear motor -- but I don't expect to ever see that, on grounds of cost, and possibly formfactor would count against it as well. What you CAN do, is control the pattern of vibration (on/off). I don't know if this would address your need, but if it does, check: http://developer.android.com/intl/de/reference/android/os/Vibrator.html#vibrate(long[], int) And also the Notification class, if you're using a notification to trigger the vibration. A short-enough on/off pattern may give an effect similar to what you're looking for, but do not expect the behavior with short intervals to be even remotely similar between devices! On Dec 3, 8:22 pm, zhi cheng <[email protected]> wrote: > hello,everybody > > can someone know how can i control the vibrate's strength? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

