[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
Frequently Asked Questions

Q: Do you have to run the program everytime you boot the phone? Or does it load on startup?

A: It loads on startup. It also load directly after installation

Q: Can I mute the incoming call?

A: Yes, the volume down key works, as well as flipping the phone upside down (with the default HTC dialer). If you did not change the default stylus setting, removing the stylus and using the regular on-screen buttons will mute the incoming call as well (v0.5 and above)

Q: Can I deny and send a text message?

A: If you did not change the default stylus setting, then yes, the device will unlock if you remove the stylus when ringing. You can then use the default on-screen buttons. If you disabled stylus unlocking, then no.

Q: What is locked exactly?

A: Only the touch panel (the upper part). The hardware keys (home, back, call, end, the arrows, the center button) remain unlocked.

Q: Can I answer using my Bluetooth headset?

A: Yes.

Q: If I answer with my Bluetooth headset, will the device unlock once I answer?

A: Yes and no. It will unlock, but depending on your settings, the application will turn off the display once it stops ringing.

Q: Can I prevent the display turning off once I answer/deny the call?

A: Depending on your settings, yes, the device not turn off if you remove the stylus when ringing.

Q: What are the settings from v0.5 and above?

A: You can enable and disable the following: unlocking with stylus (UnlockWithStylusEnabled), screen locking on secundary calls (LockCallsDuringCalls), lock always or only from stand by (LockOnlyFromStandby). Also you can set if the device should turn off after a call was established (picked up) or ended (missed/hung up), and if so, if it should be done by emulating a power button press or just turning off the LCD screen.

Q: How can I change any one of the settings?

A: Use a registry editor of your choice (I recommend Total Commander) and browse to HKCU\Software\DRvDijk\AnswerkeysDisabler . You'll find 5 keys with values, each representing one of the settings.

Q: How do I enable/disable unlocking with the stylus?

A: Change the 'UnlockWithStylusEnabled' registry key to 1 to enable unlocking with the stylus, and to 0 to disable it.

Q: How do I enable/disable locking during a secundary call (incoming call while another call is in progress)?

A: Change the 'LockCallsDuringCalls' registry key to 1 to enable locking during a secundary call, or to 0 to disable it.

Q: How do I let Answerkeys Disabler only lock incoming calls when my phone is in stand by, and not when it is already powered on?

A: Change the 'LockOnlyFromStandby' registry key to 1 to let it only lock if the phone is off, and to 0 to let it always lock incoming calls.

Q: How do I disable the screen turn-off after a call is established or ended?

A: Change the 'TurnOffScreenMode' to 0 to completely disable the screen turn-off feature, change it to 1 to let it always turn off the screen after call establishment/ending, or change it to 2 to let it go back to the previous state (i.e. off if the device was off before the call came in, or on otherwise).

Q: How can I change the way Answerkeys Disabler turns off my phone?

A: Change the 'TurnOffScreenMethod' registry value to 1 to emulate a power button press, or 0 to just turn off the LCD screen.

Q: I have the feeling this program still drains battery power. What are the best settings for least power usage?

A: Disable the stylus locking by setting the 'UnlockWithStylusEnabled' registry value to 0, and make sure the 'TurnOffScreenMode' is not set to 2, and make sure 'LockOnlyFromStandby' is set to 0.

Q: What are the default settings?

A: UnlockWithStylusEnabled = 1 (do unlock with stylus)

LockCallsDuringCalls = 1 (do lock incoming secondary calls)

LockOnlyFromStandby = 1 (only lock when the phone was off)

TurnOffScreenMode = 2 (turn off screen if it was off before)

TurnOffScreenMethod = 1 (emulate power button press)

Q: I changed the settings, but the are not working?

A: Please restart Answerkeys Disabler after you change the settings, since the settings are only read on start up

Original post

As pointed out in this thread, there is a great need for some tool to disable accepting or rejecting calls accidentally by pressing the buttons on the touch screen. Some alternatives available are:

S2U@

PDAVIET's dialer

CSDEVCTRL

SensorLock

Now I finished my first application on a PDA ever, which heavily uses ideas from SensorLock's source code to lock and unlock the touch panel. The program locks the touch panel once a call is incoming while keeping the hardware buttons unlocked. Answering is only possible by the hardware buttons. Hopefully this is useful :)

I'd like to heavily thank surfsmurf for his SensorLock software which made this possible.