- Code: Select all
final boolean vibe = (Settings.System.getInt(
Settings.System.VIBRATE_IN_SILENT, 1) == 1);
I have seen this snipet in lots of webs. However I´m unable to find VIBRATE_IN_SILENT in any package. Perhaps it has been removed in the last API but I don´t think so because of retro-compatibility.
It should be in "android.provider.Settings.System"