Thread: OK ROM comes
View Single Post
Member: scm6079
at: 04:15 AM 06/10/2009
Originally Posted by BlackFlag77:
Yeah, the vibrate is terrible... I'd say it's more like 1/3 of a second. I can only feel it if I'm sitting down absolutely still.
Ask and you shall receive! My phone now vibrates 3 times... Here's the change,
Line 129, /usr/palm/applications/com.palm.app.messaging/app/controllers/notification-assistant.js --

find the line:
this.controller.playSoundNotification('alerts','');

This plays the alert. Now just add 2 setTimeout commands (takes the function to call, then the time in ms.)

So you have:

setTimeout( function(){ this.controller.playSoundNotification('alerts', ''); }, 1000 );
setTimeout( function(){ this.controller.playSoundNotification('alerts', ''); }, 2000 );

Adjust the 1000 and 2000 parameters to your liking. Follow my guide on modifying to put this in place, and you now have a long tone.

This phone really is going to fun - it is *sooo* easy to modify.

_Scott