Available for a limited time only - £10 off a £20 spend at eXpansys! For more details visit this topic!

Please Log In or Register - it's FREE!

2 Pages V   1 2 >  
Reply to this topicStart new topic
 Remove 'Press the action key' discussion thread
jasonrabbit
post Sep 28 2008, 16:03
Post #1


Newbie
Group Icon

Group: Posters
Posts: 38
Joined: 24th August 2006
From: Bedfordshire uk
Member No.: 203,437

Device(s): Omnia i900



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
Go to the top of the page
 
+Quote Post
Reuben (MY)
post Sep 28 2008, 16:20
Post #2


Regular
Group Icon

Group: Posters
Posts: 145
Joined: 12th September 2008
Member No.: 425,468

Device(s): SGH-i900



the one that only allows you to send/center/end button during a call?
Go to the top of the page
 
+Quote Post
jasonrabbit
post Sep 28 2008, 16:24
Post #3


Newbie
Group Icon

Group: Posters
Posts: 38
Joined: 24th August 2006
From: Bedfordshire uk
Member No.: 203,437

Device(s): Omnia i900





No the one that unlocks the keypad during a call
Go to the top of the page
 
+Quote Post
msjfb
post Sep 28 2008, 16:29
Post #4


Regular
Group Icon

Group: Posters
Posts: 60
Joined: 9th March 2007
Member No.: 236,751

Device(s): Samsung Omnia



QUOTE(jasonrabbit @ Sep 28 2008, 16:24) *
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.
Go to the top of the page
 
+Quote Post
ptrbee
post Sep 28 2008, 18:36
Post #5


Regular
Group Icon

Group: MoDaCo Ad Free
Posts: 67
Joined: 1st September 2008
From: UK
Member No.: 422,209

Device(s): Touch HD;iphone;Omnia;TyTNII



QUOTE(msjfb @ Sep 28 2008, 17:29) *
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, laugh.gif rolleyes.gif biggrin.gif 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.
Go to the top of the page
 
+Quote Post
Juicey
post Sep 28 2008, 20:08
Post #6


Newbie
Group Icon

Group: Posters
Posts: 38
Joined: 13th September 2008
Member No.: 425,954

Device(s): Samsung Omnia



Well, I'm neither a 'great mind' or a windows mobile programmer, but I did a little research wink.gif

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.

CODE
# 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 wink.gif

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!


This post has been edited by Juicey: Sep 28 2008, 20:09
Attached File(s)
Attached File  No_screenlock.zip ( 385bytes ) Number of downloads: 32
 
Go to the top of the page
 
+Quote Post
Reuben (MY)
post Sep 28 2008, 20:32
Post #7


Regular
Group Icon

Group: Posters
Posts: 145
Joined: 12th September 2008
Member No.: 425,468

Device(s): SGH-i900



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
Go to the top of the page
 
+Quote Post
ptrbee
post Sep 28 2008, 21:40
Post #8


Regular
Group Icon

Group: MoDaCo Ad Free
Posts: 67
Joined: 1st September 2008
From: UK
Member No.: 422,209

Device(s): Touch HD;iphone;Omnia;TyTNII



QUOTE(Juicey @ Sep 28 2008, 21:08) *
Well, I'm neither a 'great mind' or a windows mobile programmer, but I did a little research wink.gif

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.

CODE
# 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 wink.gif

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...
Go to the top of the page
 
+Quote Post
Juicey
post Sep 28 2008, 21:51
Post #9


Newbie
Group Icon

Group: Posters
Posts: 38
Joined: 13th September 2008
Member No.: 425,954

Device(s): Samsung Omnia



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.
Go to the top of the page
 
+Quote Post
respider
post Sep 28 2008, 22:04
Post #10


Regular
Group Icon

Group: Posters
Posts: 72
Joined: 17th September 2008
Member No.: 427,268

Device(s): omnia



wow infinite loop with 500ms interval? thats almost a busy wait laugh.gif
anyone know about batt life with this script running? should drain really fast
Go to the top of the page
 
+Quote Post
msjfb
post Sep 29 2008, 02:57
Post #11


Regular
Group Icon

Group: Posters
Posts: 60
Joined: 9th March 2007
Member No.: 236,751

Device(s): Samsung Omnia



QUOTE(respider @ Sep 28 2008, 22:04) *
wow infinite loop with 500ms interval? thats almost a busy wait laugh.gif
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.
Go to the top of the page
 
+Quote Post
pidsw
post Sep 29 2008, 08:01
Post #12


Regular
Group Icon

Group: Posters
Posts: 107
Joined: 13th January 2008
Member No.: 344,318

Device(s): HTC Touch Vogue



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.
Go to the top of the page
 
+Quote Post
gregchurch
post Sep 29 2008, 12:52
Post #13


Newbie
Group Icon

Group: Posters
Posts: 2
Joined: 20th June 2007
Member No.: 268,972



QUOTE(pidsw @ Sep 29 2008, 10:01) *
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




Go to the top of the page
 
+Quote Post
ptrbee
post Sep 29 2008, 12:56
Post #14


Regular
Group Icon

Group: MoDaCo Ad Free
Posts: 67
Joined: 1st September 2008
From: UK
Member No.: 422,209

Device(s): Touch HD;iphone;Omnia;TyTNII



QUOTE(gregchurch @ Sep 29 2008, 13:52) *
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.


Go to the top of the page
 
+Quote Post
msjfb
post Sep 29 2008, 13:25
Post #15


Regular
Group Icon

Group: Posters
Posts: 60
Joined: 9th March 2007
Member No.: 236,751

Device(s): Samsung Omnia



QUOTE(ptrbee @ Sep 29 2008, 12:56) *
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.
Go to the top of the page
 
+Quote Post
ptrbee
post Sep 29 2008, 18:13
Post #16


Regular
Group Icon

Group: MoDaCo Ad Free
Posts: 67
Joined: 1st September 2008
From: UK
Member No.: 422,209

Device(s): Touch HD;iphone;Omnia;TyTNII



QUOTE(msjfb @ Sep 29 2008, 14:25) *
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.
Go to the top of the page
 
+Quote Post
Paul (MVP)
post Sep 29 2008, 18:17
Post #17


The Main Man
Group Icon

Group: Admin Team
Posts: 21,068
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): HTC Advantage



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

P


--------------------
Paul O'Brien - Microsoft MVP, Mobile Devices, MoDaCo.network Founder. Check out my Blog!

£10 off a £20 spend at eXpansys - click for details
Go to the top of the page
 
+Quote Post
gregchurch
post Sep 29 2008, 18:59
Post #18


Newbie
Group Icon

Group: Posters
Posts: 2
Joined: 20th June 2007
Member No.: 268,972



QUOTE(Paul (MVP) @ Sep 29 2008, 20:17) *
Just a heads up that I am already working on a fix for the in call lock... ;)

P


Cheers, Greg
Go to the top of the page
 
+Quote Post
ptrbee
post Sep 29 2008, 19:29
Post #19


Regular
Group Icon

Group: MoDaCo Ad Free
Posts: 67
Joined: 1st September 2008
From: UK
Member No.: 422,209

Device(s): Touch HD;iphone;Omnia;TyTNII



QUOTE(Paul (MVP) @ Sep 29 2008, 19:17) *
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 biggrin.gif
Go to the top of the page
 
+Quote Post
Paul (MVP)
post Sep 30 2008, 11:16
Post #20


The Main Man
Group Icon

Group: Admin Team
Posts: 21,068
Joined: 6th November 2002
From: Norwich, UK
Member No.: 1

Device(s): HTC Advantage



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


--------------------
Paul O'Brien - Microsoft MVP, Mobile Devices, MoDaCo.network Founder. Check out my Blog!

£10 off a £20 spend at eXpansys - click for details
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

Similar Topics

  Topic Replies Topic Starter Views Last Action
No new I900 3G in the US
102 pidsw 4,593 Today, 07:46
Last post by: pidsw
No New Posts Topic has attachmentsSecany's ROM research thread... NEW: DTHJ9
1,995 secany 278,833 Today, 03:44
Last post by: lazylilsnoop
No new Topic has attachmentsgames for the Omnia i900.
360 loquillo 169,511 Today, 05:15
Last post by: Jokes On You
No New Posts