I have a device of which I don\'t know if it has a vibrator.
Is there a way to query for the availability of the vibrator?
This may help for API<11:
Context.getSystemService() returns a service object or null if no service.
Context.getSystemService()
null
if ( getSystemService(VIBRATOR_SERVICE) != null ) { //Vibrator exists }