I am making simple application, which is changing volume settings.
I want to implement there toggling vibration when ringing or receiving notification. I was using AudioManager.setVibrateSetting(int vibrateType, int vibrateSetting), but this method is deprecated on API level 16.
Do you know about any other way, how to do that?