Jump to content

Remove 'Press the action key' discussion thread


Recommended Posts

Guest jasonrabbit
Posted

Can we put our heads together and come up with a way to remove the Action Key in a Phone call.

Just a simple answer phone message i have to press that key 3 times

I have been throw RegEdit and changed setting values under HKCL/ControlPanel/Phone with no luck

We have some great minds on this site and im sure we can remove this

Guest Reuben (MY)
Posted

the one that only allows you to send/center/end button during a call?

Posted
No the one that unlocks the keypad during a call

One way to do it could be to have an application watch for the window or message, and press (programmatically) the key automatically. I have done some windows programming, and if Windows mobile is similar then it should not be difficult to intercept these events, and act on them. We need to get a windows mobile programmer involved in this.

Posted
One way to do it could be to have an application watch for the window or message, and press (programmatically) the key automatically. I have done some windows programming, and if Windows mobile is similar then it should not be difficult to intercept these events, and act on them. We need to get a windows mobile programmer involved in this.

Yippie, :wacko: ;) :( Can anyone tell that I'm happy about this?? thanks guys, hope we can get this sorted, after speaking to some muppet at Samsung Tech Support today, I will do anything I can to help get rid of this annoying popup.

Posted (edited)

Well, I'm neither a 'great mind' or a windows mobile programmer, but I did a little research ;)

Seems the registry key involved is HKLM\System\State\Touchlock . Set to 0 -> screen enabled, set to 1 -> screen locked.

Obviously the Phone program sets this value to 1 whem you're making a call, and sets it back to 0 (briefly) when you press the Action key. There's not a lot to be done about this, unless someone rewrites the phone program or Samsung is nice enough to drop this 'feature'.

As a workaround (nothing more) I've made a little Mortscript that checks wether the Phone prgram is running, and then resets the registry value to 0 after the Phone sets it to 1 at a given interval.

BTW, my first attempt at a Mortscript. May not be pretty, but seems to work.

# No_screenlock.mscr

# Script to prevent i900 from locking display while using Phone - (c) 2008 Juicey

#


# Set this to desired delay value in millisecs

delay=500  


While ( 1 )


If wndActive "Phone"

 regReadDword HKLM,"System\State","Touchlock",tlock

  If equals %tlock%,1

   regWriteDword HKLM,"System\State","Touchlock",0

  EndIf

EndIf


Sleep %delay%


EndWhile

Note - Once launched, the script will remain running till the next soft-reset. No idea how that will effect the i900 performance or battery usage, but would like to know if anyone is brave enough to try :wacko:

Note 2 - This script should in no way be able to damage or brick your phone, but you use it at your own risk!

Note 3 - Obviously you need Mortscript on your phone for this to work.

Enjoy!

No_screenlock.zip

Edited by Juicey
Guest Reuben (MY)
Posted

why not author the MakeACall script in WM not to set touchlock to 1? then you probable save lots of resource running backend program as process

Posted
Well, I'm neither a 'great mind' or a windows mobile programmer, but I did a little research ;)

Seems the registry key involved is HKLM\System\State\Touchlock . Set to 0 -> screen enabled, set to 1 -> screen locked.

Obviously the Phone program sets this value to 1 whem you're making a call, and sets it back to 0 (briefly) when you press the Action key. There's not a lot to be done about this, unless someone rewrites the phone program or Samsung is nice enough to drop this 'feature'.

As a workaround (nothing more) I've made a little Mortscript that checks wether the Phone prgram is running, and then resets the registry value to 0 after the Phone sets it to 1 at a given interval.

BTW, my first attempt at a Mortscript. May not be pretty, but seems to work.

# No_screenlock.mscr

# Script to prevent i900 from locking display while using Phone - (c) 2008 Juicey

#


# Set this to desired delay value in millisecs

delay=500  


While ( 1 )


If wndActive "Phone"

 regReadDword HKLM,"System\State","Touchlock",tlock

  If equals %tlock%,1

   regWriteDword HKLM,"System\State","Touchlock",0

  EndIf

EndIf


Sleep %delay%


EndWhile

Note - Once launched, the script will remain running till the next soft-reset. No idea how that will effect the i900 performance or battery usage, but would like to know if anyone is brave enough to try :wacko:

Note 2 - This script should in no way be able to damage or brick your phone, but you use it at your own risk!

Note 3 - Obviously you need Mortscript on your phone for this to work.

Enjoy!

Thankz thank-you thankyou, hey can I post this in other forum, it works perfectly so far, i found the touch lock reg key disabled it but couldn't find where it keeps resetting itself...

Posted

Guess it's just the Phone application that keeps setting the registry back to 1...

Feel free to post it anywhere you want!

Also, please report back here if you see any problems with performance or battery drain, curious about that.

Guest respider
Posted

wow infinite loop with 500ms interval? thats almost a busy wait ;)

anyone know about batt life with this script running? should drain really fast

Posted
wow infinite loop with 500ms interval? thats almost a busy wait ;)

anyone know about batt life with this script running? should drain really fast

I'm digging a little bit into this... Mortscript does not do 'event watching' very well, from what I read (CPU intensive and battery drain). It seems that a product called SKSchema (http://s-k-tools.com/?skschema/m_skschema.html ) is better at waiting for events.

I think we could get SKSChema to trigger on the phone app as it starts, and have it call the Mortscript (minus the waiting loop) so that Mortscript handles resetting the Registry key. When the phone apps stops, Skschema will trigger and kill the Mortscript. This way the tight loop is only active during a phone call.

Tha's the game plan, but a C# programmer with Compact .Net Framework experience could wrap this into one nice little application. For now, I will try to get something working with SKSchema and Mortscript.

Posted

I used advancedConfig 3.2 and disabled the PhoneCanvas. That did it. I like the default as it is the fastest to load (I hate latency when it comes to answering calls)

However it may be missing some special support (?) you can always re-inable it when needed.

Guest gregchurch
Posted
I used advancedConfig 3.2 and disabled the PhoneCanvas. That did it. I like the default as it is the fastest to load (I hate latency when it comes to answering calls)

However it may be missing some special support (?) you can always re-inable it when needed.

Hi,

Have installed advancedconfig.3.2 but can't find an option called Phonecanvas under the Phone section.

Grateful for help.

Cheers, Greg

Posted
Hi,

Have installed advancedconfig.3.2 but can't find an option called Phonecanvas under the Phone section.

Grateful for help.

Cheers, Greg

I think he means thephone-> phone skin option, set to disabled, Disabling this will give you the windows default phone pad.

Posted
I think he means thephone-> phone skin option, set to disabled, Disabling this will give you the windows default phone pad.

Mmmm, this is a HTC centric application. Will have a look at what can be done with it, but I actually LIKE the feature of an quick screen lock on an incoming/outgoing call. What I want is to be able to disable it on an outgoing call, when I need it to be off for the duration of the call.

Posted
Mmmm, this is a HTC centric application. Will have a look at what can be done with it, but I actually LIKE the feature of an quick screen lock on an incoming/outgoing call. What I want is to be able to disable it on an outgoing call, when I need it to be off for the duration of the call.

carefull with the performance tweaks "glyph cache etc" most of them are definately HTC & will cause the omnid to become very unstable & hang in some cases.

Guest Paul (MVP)
Posted

Just a heads up that I am already working on a fix for the in call lock... ;)

P

Guest gregchurch
Posted
Just a heads up that I am already working on a fix for the in call lock... ;)

P

Cheers, Greg

Posted
Just a heads up that I am already working on a fix for the in call lock... ;)

P

wicked, if you need a beta tester I'm happy to :wacko:

Guest Paul (MVP)
Posted

OK, so I have successfully written an app that disables the screen lock every time it comes on, feels like a bit of a kludge tho, as when you turn the lock off (either programatically or by pressing the action key), it turns itself back on again shortly after.

My app basically watches that reg key, then sets it to 0 whenever it becomes 1. It's also using the WinMo's built in state notification broker, so there's no impact on performance / battery etc.

Thoughts? Altho not perfect, is this still useful?

P

Guest Paul (MVP)
Posted

Here it is btw... copy EXE anywhere on your device (e.g. 'My Documents') and run to set up. Delete EXE to uninstall ;)

P

OmniaNOLOCK.zip

Guest new2city
Posted

Great Paul, that's pretty fast work, hope to try it as soon as I can get it on my phone.

Posted
Here it is btw... copy EXE anywhere on your device (e.g. 'My Documents') and run to set up. Delete EXE to uninstall ;)

P

OmniaNOLOCK.zip

trying now, will let you know, hey what are you using to capture the registry, I have one more annoying feature I need to get disabled with my bluetooth car stereo, " something is polling & causing the phone to switch itself on while I'm using in the car"....I want to disable it.

Guest Paul (MVP)
Posted

I don't have anything that will help in that scenario i'm afraid.

P

Posted

Hi paul,

Here is, for me anyway, the ideal behaviour: kill the lock (forcing the reg key to 0 is fine with me, I can live with random flickers of the lock message) only after I have pressed the Dpad key during a call (incoming or outgoing).

Here is my reasoning: I like to have the screen locked during a call to prevent unwanted screen touches (face, pulling out of the pouch, etc). What I am looking for is to be able to unlock it, and have it stay unlocked (or continuously unlocking it) for the rest of the call to allow me to listen to voicemail, navigate through auto-attendants,etc.

So I guess if you could start resetting the reg key when I press the Dpad key (or any other key if it is difficult to monitor) during a call, and stop resetting at the end of the call (or at the start of the next call), I would be a very happy camper ;) .

Thanks, I appreciate your work on this.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.