I'd have to double check the hardware specs, which I don't feel like
doing, but I suspect the reason is that before API 11, all phones were
expected to include the vibrator. But obviously this requirement makes
no sense on tablets, which are not all phones, so they need the API to
test for its preference.

On Jul 23, 12:27 pm, mainerror <[email protected]> wrote:
> Today I've documenting the Vibrator classes hasVibrator method on
> Stack Overflow[1] and all was fine until someone mentioned that the
> method was added with API 11[2]. I didn't notice since my API level
> filter is set to 12.
>
> I think it is quite a good question.
>
> Were there no device without a vibrator prior Honeycomb? Is there a
> special reason for the addition of that method?
>
> [1]:http://stackoverflow.com/questions/6801574/how-can-i-find-out-if-a-de...
> [2]:http://stackoverflow.com/questions/6801574/how-can-i-find-out-if-a-de...

-- 
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

Reply via email to