This is a very basic approach to adding audible alerts for incoming SMS messages. It uses an invisible window with an \<audio\/> element to actually play the sound. Rather than implement a file selection window (and deal with access to local files) I added a small set of specific alert sounds and allow the user to select one on the settings page. Seems to work fine on both Windows and Linux; I am unable to test on Mac.
This is a very basic approach to adding audible alerts for incoming SMS messages. It uses an invisible window with an \<audio\/> element to actually play the sound. Rather than implement a file selection window (and deal with access to local files) I added a small set of specific alert sounds and allow the user to select one on the settings page. Seems to work fine on both Windows and Linux; I am unable to test on Mac.