I wrote a small piece of code to switch between vibrate and sound on. I've created the cab installer. Just follow the instruction below to install it.
1. Just install the cab.
2. Map Button 5 (Press & Hold) to 'Vibra (Switch)'.
Whala... you just got a vibrate switch just like an HTC Wizard!
To start the program in delayed mode you need to apply the /d switch. However, I've created a shortcut for the delayed mode as Vibra (Switch) Delayed. Because of this, you're forced to install the program in the main memory as I don't know how to create a shortcut with parameters in the Cab installer. Anybody care to teach me how?
UPDATES
v1.32 : added switch '/d' to delay 1.0 second start up
v1.31 : Fix bug where flight mode toggle was toggled even when button has been release on silent mode. Also optimized button handling to detect button release during buzzing and in between.
v1.3 : Hold the button even longer (approx another 2 second), will toggle flight mode (while retaining current normal/vibrate/silent settings).
v1.2 : Hold the button longer (approx 1 second), will set the phone to silent mode. (This only works with App button 1-6)
v1.1 : Now run with '/q' parameter to switch mode without vibrating the phone.
EDIT:
There's no more update or any changes will be made to this program as I've lost the source code.
1. Just install the cab.
2. Map Button 5 (Press & Hold) to 'Vibra (Switch)'.
Whala... you just got a vibrate switch just like an HTC Wizard!
To start the program in delayed mode you need to apply the /d switch. However, I've created a shortcut for the delayed mode as Vibra (Switch) Delayed. Because of this, you're forced to install the program in the main memory as I don't know how to create a shortcut with parameters in the Cab installer. Anybody care to teach me how?
UPDATES
v1.32 : added switch '/d' to delay 1.0 second start up
v1.31 : Fix bug where flight mode toggle was toggled even when button has been release on silent mode. Also optimized button handling to detect button release during buzzing and in between.
v1.3 : Hold the button even longer (approx another 2 second), will toggle flight mode (while retaining current normal/vibrate/silent settings).
v1.2 : Hold the button longer (approx 1 second), will set the phone to silent mode. (This only works with App button 1-6)
v1.1 : Now run with '/q' parameter to switch mode without vibrating the phone.
EDIT:
There's no more update or any changes will be made to this program as I've lost the source code.
Last edited: