I read that in froyo if you change vibrate settings with setVibrateSettings() it doesn´t sync with SO vibrate settings. Then I found this workaround that people use with some of the functions in this link:
However, that source code there are two calls to:
173 boolean vibeInSilent = (Settings.System.getInt( 174 getContentResolver(), 175 Settings.System.VIBRATE_IN_SILENT, 176 1) == 1);
227 Settings.System.putInt(getContentResolver(), 228 Settings.System.VIBRATE_IN_SILENT, 229 vibeInSilent ? 1 : 0);
That are the only difference with what I try to do in my code to change vibrate setttings. But Settings.System.VIBRATE_IN_SILENT seems to be removed in 2.2, so when I change vibrate settings "normal, off, only in silent", then I go to SO audio settings and vib value is different, and if i go back to my app, vib settings are also different to what i selected before. Any idea? Thanks!!!!!