yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] peta§:
I agree. A program functioning that way would be the absolutely most wanted on my Diamond.
[Touch Diamond, MDA Compact IV Themes and Apps] sabb0ur:
I know I can mute the ring by flipping the phone, but it is unreliable. Is there a way to be able to press the mute ring button on the touch screen?

Maybe like how CSDEVCTRL implements it (though I was never able to use the function), by sliding your finger across the touchscreen to unlock the phone and enable pressing the touch buttons.

How about that?
[Touch Diamond, MDA Compact IV Themes and Apps] onesolo:
But the latest version of S2U2 indeed locks the screen??
[Touch Diamond, MDA Compact IV Themes and Apps] avantgarde84:
ATTENTION Threadstarter!

I like to thank you very much for your effort in creating this program, which is definitely necessary for the problem of answering calls in pocket due to the screen being unlocked when a call comes in.

I have installed it and tried it out, but unfortunately I need to bring to your attention one issue. This program only works at the FIRST CALL. After installing this program, someone calls my phone, the screen is locked, fine. But after I answer the call, put the phone on standby, and another call comes in, the screen is UNLOCKED now. I have to go to Programs and enable the program again for it to work. Otherwise, this program only works for the FIRST CALL or if you don't answer any calls that come in.

If you are aware of this and there is a method to overcome this please put it up here.
[Touch Diamond, MDA Compact IV Themes and Apps] caved:
Jabra BT ear

Hi there,

I carry my phone in a leather case all the time and i usually pickup with my Jabra BT ear, will the app unlock the screen when i pickup the phone with my ear ? I'd rather have it stay locked when i pick up with the ear and behave normally when BT is not active , is this possible ? Seems like a nice addition to your program anyways ...

Anyway awesome job..

Greetz

Caved
[Touch Diamond, MDA Compact IV Themes and Apps] diamondino:
attention please

it worked for my first call... today, 2 of 2 calls with the phone unlocked.

so ... s2u2 again... :(
[Touch Diamond, MDA Compact IV Themes and Apps] krheinwald:
Same here. Original ROM 1.93
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
Right. Checking as soon as my Visual Studio installation finishes.
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
This is a very weird situation. The program seems to execute the exit routine, while it should of course not. I'm now uploading an v0.2.1 version, which explicitly checks if it's time to exit. It does work on my mobile right now... Please post your comments. Thanx!

Edit Skip that, v0.2.1 not working either :( Working through the threading once more. Hang on please :)
[Touch Diamond, MDA Compact IV Themes and Apps] Krzysiec:
Where did you upload that 0.2.1 ? :)
[Touch Diamond, MDA Compact IV Themes and Apps] caldo:
Same to me...

I am using the first version, which is working...
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
http://rapidshare.com/files/145427419/AnswerkeysDisabler.v0.2.1.CAB.html
[Touch Diamond, MDA Compact IV Themes and Apps] aussieak:
OK tested .21 and this is working well. I have tested 5 answers and the screen still locks up.

Thanks for the update
[Touch Diamond, MDA Compact IV Themes and Apps] demonizator:
Just installed the 0.2.1, works like charm. Thank you, thank you, thank you...
[Touch Diamond, MDA Compact IV Themes and Apps] xavidvd:
I'll try today

Let's see if it works ...........

Thanks ;)
[Touch Diamond, MDA Compact IV Themes and Apps] carloshdez:
Works very well, still testing, but I guess we have a winner :D
[Touch Diamond, MDA Compact IV Themes and Apps] BerlinTop:
0.2.1. works well for me...
[Touch Diamond, MDA Compact IV Themes and Apps] bing69:
0.2.1. works like 0.1, good!!!
[Touch Diamond, MDA Compact IV Themes and Apps] PerLan44:
Seems to work now, great job!
[Touch Diamond, MDA Compact IV Themes and Apps] avantgarde84:
I can confirm that the v0.2.1 has been perfected and no longer has any flaws with it. I tried out the new version with the phone on ringer, vibrate and silent mode, first without answering the call then another try with answering the call. After I answer the first time then call the phone immediately after that, the screen remains locked. This is true even after taking 5 cycles of answering calls, hanging up and calling the phone again. WOOHOOOO!!! Problem solved.

All credit to DRVDIJK for his great invention and extremely prompt response to the problem that I highlighted on the forum. You are a champion mate!
[Touch Diamond, MDA Compact IV Themes and Apps] carloshdez:
It works indeed ;)

You made my day :D
[Touch Diamond, MDA Compact IV Themes and Apps] bdormael:
Cool, it works fine.

Now we need to find someone smart enough to remove the answer and ignore buttons on the skin from the caller screen, because they are useless now :-)
[Touch Diamond, MDA Compact IV Themes and Apps] sandeman684:
Unlock screen with center button?

This app is nearly perfect. However, I have one suggestion: make it so that the center button unlocks the screen. In this way it is still possible to use 'Send Text' or other things.

I think the app was working like this in version 0.1
[Touch Diamond, MDA Compact IV Themes and Apps] Davey101:
Hi drvdijk, thanks for producing this app!

I have a question for you (not a request! :)) - would it be possible to create a version of Answerkeys Disabler that is only activated when the phone is locked before the incoming call comes in?

I'm thinking it might be difficult because the incoming call unlocks the phone. The question is how to detect that the phone was originally locked. Any thoughts?

Thanks
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
I don't know about locked status yet. HTC Dialer does (as far as I can see), so I recon any other program should be able to do so as well.

I'm looking into exactly the same idea, except for power status of the device. If the device was in sleep mode before the call came in, it should go there once the call is missed/denied. If it was sleeping and the call was accepted, it should also be locked somehow, possibly/probably by going to suspend mode as well.
[Touch Diamond, MDA Compact IV Themes and Apps] fiuner:
That would make this application perfect!
[Touch Diamond, MDA Compact IV Themes and Apps] sabb0ur:
I second that as well, + there are sometimes when I would like to answer using the touch screen =)
[Touch Diamond, MDA Compact IV Themes and Apps] sabb0ur:
I was actually able to mute the ringtone using the volume buttons, I didn't know this was possible.

My current setup:

Right softkey on the Home tab is mapped to cslockdev.exe from http://xdaforums.com/showthread.php?t=386451 by changing the registry key HKLM/Software/HTC/manila/HomeRSKPath to /Program Files/csdevctrl/cslockdev.exe and HKLM/Software/HTC/manila/ HomeLSKText to Lock. Make sure you copy the csdevctrl folder to your device memory under Program Files.

CSDEVCTRL Settings:

Everything unchecked

Windows key lock settings:

Do not lock buttons

No autolock (my preference, because it sometimes interferes with the normal operations)

The typical usage scenario:

Locking: I would touch the right softkey on the home tab to touch

Unlocking: Press one of the hardware buttons, then unlock using the touch screen
[Touch Diamond, MDA Compact IV Themes and Apps] birkov10:
Hi drvdijk,

I like your program so much that I´ve made a icon for it, you can see it in the attached file, if you want it for your application I can upload the .ico
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
Great! I'll use it :) Yeah, if you could send me the .ico, it'd be great. Then I don't have to convert everything hehe ;)
[Touch Diamond, MDA Compact IV Themes and Apps] Adow:
drvdijk: At first - great utilily.. Works with my MDA Compact IV like a charm.. I had problems with everything before - SK Schema and so on.. This is the first utilily that works on T-mobile 1,37 ROM.. Thank you very much ;)

But second.. The question - is it possible to turn off the sceen directly after ringing when no hw key were pressed (when I miss the call)?
[Touch Diamond, MDA Compact IV Themes and Apps] diamondino:
can u please add an icon on the top bar to see if it is enable?
[Touch Diamond, MDA Compact IV Themes and Apps] diamondino:
this is a great idea.

...and an notify icon on the top is another one. [lol]
[Touch Diamond, MDA Compact IV Themes and Apps] Davey101:
Thanks for the info! I'll be keeping an eye on this to see how you get on! :D
[Touch Diamond, MDA Compact IV Themes and Apps] caldo:
Thank you drvdijk for the application. It is very usefull for me.

sandeman, great idea!
[Touch Diamond, MDA Compact IV Themes and Apps] ediking007:
Dear drvdijk, I absolutely love your application. It's simple and very useful. But' I have an idea how to improve it more. Can you please make possible to don't lock the device when it in horizontal (on table) position? Just think about it: actually, the primary task of your application is to avoid call drops when device in pouch. So, in case of the device is just on the table, it will be better to keep it unlocked. What are You think about it? Is it possible?
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
I will investigate this for the next next version (0.4), I like this too! roisagi also requested the feature in post 47

A much requisted feature: posts 7, 10,11, 12, 17, 19, .., .., ... all discuss this. And here's the good news: I'm finishing up with the implementation of this. That is, I'm currently extensivly testing. It does NOT drain the battery more compared to v0.2.1 (thanx sandeman684). Version will be released shortly as v0.3.

An icon on the top bar? It's too cluttered already! Do you mean an icon in the incoming call screen or something? Currently I'm not planning on doing something like this, convince me first ;)

It can be possible, but I'd have to use the G-Sensor API. I don't want to do this since then it would eat much more of the scare battery power the phone has. Besides, my phone lies on the table in its pouch as well; for me locking is required in that situation as well

Light sensor might also be battery consuming, not sure about that yet. It could also be a little error prone I think. Anyway, will look into this after all the previously mentioned things are done

Let's get on with some testing! :D
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
Version 0.3 released

v0.3 (RS)

Added screen turn off: the screen turns off if it was off before the new call arrived. => Headset support!

Added application icon (thanx Birkov!)

Please post your comments on the screen disabling feature :)
[Touch Diamond, MDA Compact IV Themes and Apps] Heppieboeddah:
testing

Up and running and testing..:)

heppieboeddah@work

Edit

First impression. Seems to work ok. Just reproduced some incoming calls. Screen gets locked all the time and can be answered or rejected by using the hardware buttons. So far so good. Not tested it with my bleutooth headset. That is @home. Will try that later.

But..yes you saw that comming: Added screen turn off: the screen turns off if it was off before the new call arrived. That means that wenn i answer an incoming call the screen turns off! Some people like that, but i really like to have the screen on whilest making a call. For now i will return back to v0.2.1. If you couldt implement the nice app-icon in that version, i would be a very Happy[Boeddah]
[Touch Diamond, MDA Compact IV Themes and Apps] tyler08:
u rock dr. van dijk
[Touch Diamond, MDA Compact IV Themes and Apps] dragoneyex:
A million thanks

:)

With this application, I love my Diamond more!

This is the most useful one to me!

Thank you~
[Touch Diamond, MDA Compact IV Themes and Apps] Schmiddy8888:
1a

works like a charm. thanksalot :)
[Touch Diamond, MDA Compact IV Themes and Apps] horstborsch:
Could you please implement AppToDate support?
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
great program
[Touch Diamond, MDA Compact IV Themes and Apps] Adow:
drvdijk: 0.3 is absolutely fantastic :cool:.. Thanx very much.
[Touch Diamond, MDA Compact IV Themes and Apps] Kiekeboe100:
hello,

this program works great, thx :)

I like the suggestion of working with the light sensor.

It will probably use a little more battery power, but if you only check the sensor the moment a call is incoming, the drainage would be a minimum.

The screen off feature was something i was also waiting for. And here a little suggestion.

Maybe it is possible to just keep the screen locked during the call, let the screen turn off automaticly by windows (this way the screen isn't black during the call for the users who made the registry change). And after the call return to the state before the call, screen off and or locked.

My idea isn't really perfect like this, but when implemented with the light sensor checking it should work.

Unlock the device when you take it out of the pouch. This should work when the device is ringing, or when you are taking the phone call with a headset, and want to do something with the phone.

These are my little suggestions, hope I explained them well enough.

thx for this great app,

Kiekeboe100
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
yes but what if you use the phone by your ear? you don't want an active screen

I prefer it as is
[Touch Diamond, MDA Compact IV Themes and Apps] Kiekeboe100:
When it is near your screen the screen should be turned off by windows (default behaviour).

Some people want the screen to stay active (I don't), and for those people the program shouldn't make the screen go black during a call.
[Touch Diamond, MDA Compact IV Themes and Apps] imranbashir_uk:
Iv’e not tried this yet, but It looks like it’s getting close.

Just the centre button unlock is all it really needs. I agree with you make this app as lite as possible, no light sensor, no G sensor keep the memory resources low.

Have you figured out how much current your app consumes while on standby?
[Touch Diamond, MDA Compact IV Themes and Apps] Nikos_1:
Thanks!Very useful!
[Touch Diamond, MDA Compact IV Themes and Apps] CarpeNoctum:
It works perfect. Thank you very much :)
[Touch Diamond, MDA Compact IV Themes and Apps] Django76:
Thx a lot. Works perfect and does only one thing: lock the phone by incoming calls :)))
[Touch Diamond, MDA Compact IV Themes and Apps] birkov10:
Amazing. Do you sleep this night?

I have tested the new version and works fine, this afternoon I am going to test with a bluetooth headset.
[Touch Diamond, MDA Compact IV Themes and Apps] StarMonkee:
Not sure I like the screen blanking as it currently is.

When I first got my diamond I spent ages looking for a way to stop it blanking the screen during a call, and if the phone is in standby when a call comes in, this app now turns the screen off when you answer the call.

I'd prefer it to keep the screen on for the duration of the call, then revert to the previous state (if possible)
[Touch Diamond, MDA Compact IV Themes and Apps] tuem:
haven't downloaded the new version yet, however i see a great potential here;)

hope it works, cause the mistakenly rejected / accepted calls or accidental calls from me are driving me nuts...

i have already been lobbying on other threads for a light sensor locking app, maybe it could be implemented in a parallel version to keep the "lite" version as lean as possible. then the app would check the lighting on wakeup (only self-wakeup, such as incoming call or reminder) and lock if it's dark. it's only an idea, but imho worth checking out;)

or actually maybe this would work - tell me if it makes sense:

application locks the touch screen whenever phone wakes up on its own (incoming call, reminder, sms if you have wake up on sms enabled...) but

not

when you power it on using power button or taking out the stylus (or if it's not possible to differentiate between the both types - in all cases). that way you would prevent touch accidents in your pocket and still be able to unlock in a simple way, cause personally i really hate the default wm locking/unlocking mechanism (too long a press to lock, too complicated to unlock)

i'm full of ideas, but unfortunately no programming skills to match them:(
[Touch Diamond, MDA Compact IV Themes and Apps] nin0:
edit: scratch that what I put. I didn't realise you have to run the program to make it work.

Do you have to run the program everytime you boot the phone? Or does it load on startup?
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
What phone do you have? Telus possibly?
[Touch Diamond, MDA Compact IV Themes and Apps] demonizator:
Great work! Was just gonna write you about this small issue with the screen off.
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
loads on startup of course
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
Frequently Asked Questions section added in post #2. It hints at the new feature of v0.4 ;)
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
Your solution is by far the "cleanest" to date (without being less grateful for the work of others).

Looking forward to 0.4, I hope you also implement unlock if center button is pushed, since some (many, most) people will just want to use their finger to send SMS (single hand, press center, then tap send SMS), why pull the stulus? In fact it is probably easier to implement the center button unlock in fact (center button even has a standard WM keycode)...
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
I tried catching those hardware buttons, to no avail.. I can't even see if you pressed green or red :( That's why I'm focussing on stylus first, since thats easy to monitor through the registry (still no polling)
[Touch Diamond, MDA Compact IV Themes and Apps] gadmanz:
Thanks a lot ...very usefull app

..keep it that way;)
[Touch Diamond, MDA Compact IV Themes and Apps] birkov10:
Hi drvdijk

I suppose that you know the hardware keys codes, otherwise I left the codes that I found:

+ Volume -> 075

- Volume -> 076

Home -> 0ed

Back -> 05c

Center button -> 086

Get call -> 072

Refuse Call -> 073

Also I have tested the bluetooth headset and works fine.
[Touch Diamond, MDA Compact IV Themes and Apps] sabb0ur:
KISS

Please, Keep It Simple and Stupid!

Let your application concentrate on the main issue (locking) and then maybe you could release the source code for others to modify as they want :)
[Touch Diamond, MDA Compact IV Themes and Apps] sabb0ur:
I can confirm that, if I use those codes in CSDEVCTRL as an unlock sequence (Center then Back), it unlocks the phone.

We could use the functionality provided in CSDEVCTRL if we convince its author to allow the device to be unlocked using one key only.

You could also contact him (http://xdaforums.com/showthread.php?t=386451) and ask him about the code that captures the button press
[Touch Diamond, MDA Compact IV Themes and Apps] MJNewton:
[Edit: Oops, sorry - didn't spot someone had recently requested this.]

Excellent tool!

Have you considered including it under ApptoDate so we can automatically keep abreast of your new releases?

Mathew
[Touch Diamond, MDA Compact IV Themes and Apps] paranoid2007:
I think, the first developer, who manages to link screen locking to the light sensor, so that it doesn't get triggered when carried in the pocket, wins the oscar. Will this be possible?
[Touch Diamond, MDA Compact IV Themes and Apps] drvdijk:
Hard key codes are correct, I found them too ;) But I'm not able to receive the presses the buttons generate, unless I create a window that sits on top of everything else, not wanted..
[Touch Diamond, MDA Compact IV Themes and Apps] MJNewton:
That actually sounds quite good to me... at least it would then be an opportunity to hide the non-functional on-screen buttons.

Mathew
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
hmmm... indeed?
[Touch Diamond, MDA Compact IV Themes and Apps] sabb0ur:
I found out now that I don't need CSDEVCTRL to lock the phone. You could just map the softkey to \Windows\EndKey and let the settings of Long Endkey Press determine what to do!

Why would I want to do that instead of actually pressing the hardware end key?

Because the hardware end key takes 3 seconds to react and it sometimes doesn't work if my finger is slightly to the left, issuing a right cursor button click instead.
[Touch Diamond, MDA Compact IV Themes and Apps] wpguser:
Answerkeys Disabler on Telus diamond

Putting this out there to see if anyone on the Telus Diamond specifically has managed to get this application to work. I've tried all versions of it and it does not lock my answer and ignore screen buttons.

Am I missing something here? Are there any pre-reqs that is required prior to installing this?
[Touch Diamond, MDA Compact IV Themes and Apps] Krzysiec:
I`ve noticed some problem with 0.3 ver ... When i connect my Diamond with PC (storage connection) and copying something ... and in moment when Diamond goes in darker backlight error pops up " There is a problem with AswerkeysDisabler.exe ... Please inform Microsoft bla bla" and after that i cant do anything because screen is locked and have to Soft Reset device .. Anyone else noticed it?
[Touch Diamond, MDA Compact IV Themes and Apps] Davey101:
Sounds good to me too... it need be nothing more than a box that sits over the soft keys saying "screen locked, press action to unlock".

It would be a variation on the skin solution that some of us favoured, only massively better. :)
[Touch Diamond, MDA Compact IV Themes and Apps] woohyuk35:
Thanks!It's great!!
[Touch Diamond, MDA Compact IV Themes and Apps] Kevlah:
Sounds like it is installed on the storage device. If it is then it will not be accessible by the phone while the PC is using the storage connection, causing the program to crash.
[Touch Diamond, MDA Compact IV Themes and Apps] dickenz:
Even a transparent window that takes up 100% of your screen real estate with like a white padlock icon in the middle or something. And some basic text - 'Touch center to unlock'
[Touch Diamond, MDA Compact IV Themes and Apps] NoBody20013:
a image over the locked call buttons would be lovely great!
[Touch Diamond, MDA Compact IV Themes and Apps] wpguser:
Telus users out there....

...I haven't seen any responses from any Telus users. Has anyone managed to get this to work on the Telus Diamond?
[Touch Diamond, MDA Compact IV Themes and Apps] jll3:
I installed v0.3 yesterday. My phone suddenly vibrates non stop last night, didn't even stop after switching the power off. Need to disconnect the battery. Anyone with this problem? I thought only sensor lock got this problem.
[Touch Diamond, MDA Compact IV Themes and Apps] lazerin:
uh oh...that's no good. I hope this is a once off problem..

I've used answerkey 0.1 for several days and used v0.3 since it came out. Haven't had a problem.