Patch webOS Turning Off Dialpad Noise
Introduction
When dialing on the phone with sound enabled, the phone makes really really loud noises. There are a number of ways to address this. One's first attempt might be to lower the volume on the DTMF mp3s. However, a quick examination of the phone app indicates that these same sounds are played over the phone for touch-tone responsive systems, so mucking with them is not a good idea.
The Change
The key is the TelephoneyCommands.sendDTMF function. It sends a tone over the network, or optionally, just a noise on the speaker (if the second argument is true: it's mapped to a service parameter called "feedBackOnly". In dialpad assistant, simply commenting out these
lines stops the noise. This dialpad assistant is by default located in
/usr/palm/applications/com.palm.app.phone/app/controllers/dialpad-assistant.js.
The lines of interest in dialpad-assistant.js are:
Line 509 for the touch screen.
Line 791 for the keyboard keys.
(The lines are 634 and 929 with 1.1)
Comment out one or both, as desired.
To "comment out" a line, add // at the beginning. Example:
printf("This is code"); //printf("This is commented out");
Acknowledgements
Thanks to icederror for the mod, writeup by jblebrun