1

Play sound when selecting ListPreference

view story
linux-howto

http://stackoverflow.com – I have a ListPreference set up, and it has four options. I was just wondering if it was possible to play a sound after selecting one of the options? I want to make something that will make a sound your ringtone after selecting it from the ListPreference, and I want a sample of the sound to play after selecting it. I don't want the sound to play from clicking a button after selecting the option from the ListPreference. I want it to play while the PreferenceScreen is open, right after the selection has been made. (HowTos)