Re: [android-developers] Re: Anyone used performHapticFeedback()?

2012-01-13 Thread Eric
You might also want to try the Universal Haptic Layer provided by Immersion. Simple to use, and gives you a large number of haptic effects to pick from. http://www2.immersion.com/developers/index.php?option=com_contentview=categorylayout=blogid=119Itemid=592 Eric -- You received this

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-29 Thread James Webster
Thanks Lee and Dianne. That works fine, although the vibrate is noticeably lower than that when you type using Hero keyboard. Still, it works fine. I was debating about leaving it in the OnClickListener(), as that sort of seemed more appropriate, it would be a notification that you had clicked

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-29 Thread Dianne Hackborn
On Tue, Sep 29, 2009 at 4:49 AM, James Webster jpbwebs...@gmail.com wrote: That works fine, although the vibrate is noticeably lower than that when you type using Hero keyboard. Still, it works fine. It is probably using the vibrator API directly with its own vibration pattern. I was

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-29 Thread James Webster
Got it, thanks Dianne, I will look into that API. 2009/9/30 Dianne Hackborn hack...@android.com If you are not giving feedback for a long press, I would not use it, since that is currently the only kind of feedback it supports. Instead just use the vibration API directly. This is what the

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-28 Thread Lee
This one works for me: performHapticFeedback( HapticFeedbackConstants.LONG_PRESS, HapticFeedbackConstants.FLAG_IGNORE_GLOBAL_SETTING ); I remember having trouble getting other things to work. Fortunately I only use Haptic Feedback with a long press, otherwise the Code Cops might come calling.

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-28 Thread Dianne Hackborn
Currently there is only a definition for long press, so this API isn't all that useful. (This is also why the preference is hidden away in SpareParts, it's not really ready for prime time.) If you are giving feedback for a long press, then you may want to use it... but if you also feel the need