Hi,
I'm working on my Nightclock application and want to disable vibrations for 
notifications while the app is running.

Prior to JellyBean I could simply call

AudioManager.setVibrateSetting(AudioManager.VIBRATE_TYPE_NOTIFICATION, 
AudioManager.VIBRATE_SETTING_OFF);


But in JellyBean this method is deprecated and doesn't seem to work 
anymore. I can't set the ringermode to silent, because I don't want to mute 
the ringtone for calls.

Is there any way to accomplish this on JellyBean?

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