Phone Screenlock as IPhone - Windows Mobile Development and Hacking General

Hi,
I have a Hermes, Niki phones
I miss a function found in IPhone "a sensor to lock the screen when you make an aproximity to the ear"
When you make a Phone call or Get incoming call and you move the phone near your ear, the Iphone screen get's dark so there is not unwanted "touch" of icons of the phone, Iphone has a proximity sensor check..
Right now I'm using an application "Phone Screen Lock From Palmaysoft" it works ok, but it's lock the screen just when the partner get's the call.. it's ok, but sometime there is enought time for unwanted touch with the "face" to an icon on the screen
Is there some other way to emulate a Iphone sensor (maybe with the front camera) or get the screen lock just after pushing the "green " button of the phone?
Any Idea??
Thanks!

You can get the screenlock by tapping the power button during a call.

...or using S2U2.

Azimuth21 said:
You can get the screenlock by tapping the power button during a call.
Click to expand...
Click to collapse
duh lmao!!

Fresh2Death said:
duh lmao!!
Click to expand...
Click to collapse
Thanks for that helpful post.
OP, I don't think you'll have any other option. S2U2 has the ability to automatically turns off the screen when the phone call connects, which seems to be exactly the same function as the "Phone Screen Lock From Palmaysoft" mentioned.

I once had an application on my Herald back in the WM5 days. Don't know the name but as soon as i answer the call, the screen turns off.
I believe it was something with Black Call or something.. don't know.
When im back @ home i'll search through my PC to see if i still got it.
I'll let you know!

iosub said:
Hi,
I have a Hermes, Niki phones
I miss a function found in IPhone "a sensor to lock the screen when you make an aproximity to the ear"
When you make a Phone call or Get incoming call and you move the phone near your ear, the Iphone screen get's dark so there is not unwanted "touch" of icons of the phone, Iphone has a proximity sensor check..
Right now I'm using an application "Phone Screen Lock From Palmaysoft" it works ok, but it's lock the screen just when the partner get's the call.. it's ok, but sometime there is enought time for unwanted touch with the "face" to an icon on the screen
Is there some other way to emulate a Iphone sensor (maybe with the front camera) or get the screen lock just after pushing the "green " button of the phone?
Any Idea??
Thanks!
Click to expand...
Click to collapse
I suffered with the same problem on my Touch. S2U2 is the best solution. It works perfectly in solving this problem, when you choose the option to black the screen when a call connects. Give it a try - you will love it.

agentmikeyd said:
S2U2 is the best solution. It works perfectly in solving this problem, when you choose the option to black the screen when a call connects. Give it a try - you will love it.
Click to expand...
Click to collapse
Yep...I totally agree.
A_C made an excelent (killer) program.

proximity sensor
I have s2u2. but my issue is that when another call or text comes thru the phone stays lit. therefore, i hit buttons with my face/earrings.
is there a way i can get around that part of the s2u2.
or is there some sort of program that could be similar to the proximity sensor on the iphone.
of all things in comparison...this is what i like best about the iphone.
thanks
...accidental hanguppper......

search for "lock csdevctrl" - this do the job almost perfectly for me.
and the devel is really brilliant and is ready to make wanted changes really fast.
cu camel

I use PalmarySoft's Phonescreenlock program and I love it... Does exactly what your asking for..
http://www.palmarysoft.com/products.php?platform_id=2&category_id=1&product_id=1

Related

**Please develop this clever people**

I'm sure many people here agree that it's very annoying when you're speaking on the phone and your ear accidentally opens up windows and programs or even worse - ends the call!
Surely one of you very clever chaps can make an app that uses the light sensor so that the Diamond knows you are speaking and therefore locks the screen.
It would help so much,
S.
The clever people already did it but because we, normal people, are too lazy to search through, can´t see it
http://forum.xda-developers.com/showthread.php?t=425650
...and this is just one example
I'm aware of this software but how does it work within phonecalls? I'm not talking about when the phone rings, I mean post-unlock during the phonecall...
read the post man, it`s not very large and you will find it like I did
The program doesn't do what I describe above, although the idea is brought up a few times in the thread. It can switch off the screen but i'm talking about the light sensor doing this automatically...
The Diamond already turns off the screen when you hold it to your ear (by using the light sensor)...
I thought the diamond shut off the screen on speaking/connecting the call? Plus, it doesn't turn back on without pressing the power button...
the light sensor is not sensitive enough for this use.
:-( Damn! That's a shame.
Blazeitup123 said:
the light sensor is not sensitive enough for this use.
Click to expand...
Click to collapse
Interesting, the light sensor of my phone can do this. Initially, the screen turned off whenever I picked up a call. I found it annoying because many a times, I need to use the screen to key in some numbers (pin, a/c numbers, whatever). Then, I used Adv. Conf. to turn this feature off. And I found it even more annoying as I actually hanged up twice by my ear accidentally touching "end call" button. Now, I turned this back on again.... still annoying but less....
I think your light sensor should be able to do this. Maybe you can check this feature on Adv. Conf. to see if it's turned off by accident.
The only things that were turned off in adv.config were 'sleep during call' and 'fast sleep'. I have switched these on and the screen does switch off but is this due to the light sensor? I now use S2U2's feature to switch the screen off as it's faster (screen switches off on connection)...
But, with all these options, I also find it annoying when I have to key in my pin etc. That's why utilising the light sensor so when you take the phone away from your face it switches back on, would be great.
this is really funny! some ppl want this thing off and some ppl want this thing on.
for the record:
the diamond is by default switching off the screen after a few seconds. when i said the diamond i meant the light sensor.
now, from the history:
long, long time ago (about 3-4 months ) the devs here were trying to switch off this feature because if you have to dial one more number or want to switch yr speaker you'll face a black screen (just touch the middle/enter button and you are back in business). some said it is the light sensor, some said it is a timer.....mostly they tried by registry tweaks, don't even remember who was the first to succeed but it was a great victory ...hahahaha
today we have a few options. one of them (the most popular one i think) is schap's advanced configuration. another was is the famous twaek 3.2 (today is 5?).
on the last month we have a few ROMs that already had this tweak built in. i think our friend here has one of those ROMs of them (because he ha sit tweaked already).
m8 i think you can switch this option back to default (switch off the screen) with the advanced config tool.
this one is an example (i think this one was the first):
http://forum.xda-developers.com/showpost.php?p=2278799&postcount=1-tweak no 8.
you can also look at this thread:
http://forum.xda-developers.com/showthread.php?t=406151&highlight=screen+call
or this one:
http://forum.xda-developers.com/showthread.php?t=406094&highlight=screen+call
one more:
http://forum.xda-developers.com/showthread.php?t=415356&highlight=screen+call
and so on ....everything a search away (i used "screen+call")
Thanks for the post, my issue wasn't how to get the screen off during a call. It was what causes it to go off and if it is the light sensor, could an app be made so that when the phone is taken away from your face, the screen switches on again.
I agree. I would love it to switch off as default, but also TURN ON when I pull the phone away from my face... I can't understand why this is not the default behaviour. I have some time later on this month I will look at this more carefully and possibly program the solution.
Sprint Diamond
I agree that would be great. My screen on my Sprint Diamond has never turned off during a phone call. I didn't even know that was a feature on some diamonds until this thread. I have tried making a call and then covering the light sensor but nothing happens. So, here is my vote for the ability to get a screen that turns on and off as you put it to your ear and take it away.
just work exactly the same as iphone and the problem will be solved.......

Face Down Mute and Light Sensor

I am having problems with the face down mute and light sensor thing. I would love to be able to get these working.
I have tried Schaps Advanced Config, Diamond Tweak and Registry Edits.
I would like the device to go into mute (do not ring calls) when it is put face down
Also, I would like to disable the automatic screen going off on call and let the light sensor detect when it is close to my ear and turn the screen off...
Appreciate your help
I think there is no light or proximity sensor on the HD.
I do nothing and my HD goes silent if I turn it face down.
How.. How How How? ...
taimoorhusain said:
How.. How How How? ...
Click to expand...
Click to collapse
I dont know, sorry. It´s simply working. As my HD arrives I do a Hardreset install my software and this works.
Atze001 said:
I dont know, sorry. It´s simply working. As my HD arrives I do a Hardreset install my software and this works.
Click to expand...
Click to collapse
Couldnt one then infer that it is obviously a feature of some software you have installed?
Isn't there any setting on:
setting - system - motion sensor or some kind?
Could we have a list of install software on your HD?
Don't sweat it guys!
It just works out of the box!
And fyi the HD has a Light Sensor, G Sensor and Stylus Sensor.
Yes - the light sensor is in the earpiece area (if you have ambient light sensor option checked [default], have it open in a bright room on a mainly white windows screen then cover the earpice area you see the screen dim)
I don't know about it working straight out of the box but you can certainly do it with Gyrator 2.
Black Antitoon said:
I think there is no light or proximity sensor on the HD.
Click to expand...
Click to collapse
There certainly is...
Actually, I wanted to start this thread myself..
Face-down-mute does NOT work on my HD. Neither with Gyrator ON, nor whent it is OFF.
I have checked the registry (HKLM/Software/HTC/Phone/MuteFaceDown or smth like this..), the key setting is "1" so technically it should work....... But it Doesn't!!
Face down mute works if you have it face up and somebody calls you. Just turn it face down and ring is muted.
This is only thing I found on this topic.
Turning the phone down mutes incoming calls for me too. no problems there..
Ciciban said:
Face down mute works if you have it face up and somebody calls you. Just turn it face down and ring is muted.
This is only thing I found on this topic.
Click to expand...
Click to collapse
This is very useful and it absolutely works. Cool! I thought when we place the phone face down, it would jsut be muted period. I was also assuming that there was a way to do this with Gyrator, but didnt know which event to select on orientation face down. I can turn off the screen, but there is no option in gyrator to mute the phone.
Thanks for the help though.
taimoorhusain said:
This is very useful and it absolutely works. Cool! I thought when we place the phone face down, it would jsut be muted period. I was also assuming that there was a way to do this with Gyrator, but didnt know which event to select on orientation face down. I can turn off the screen, but there is no option in gyrator to mute the phone.
Thanks for the help though.
Click to expand...
Click to collapse
This is what I also assumed, when I am in the meeting and get a call I put it face down and it mutes, but then when someone else calls I need to face it up then down again which ideally doesn't work for me.
Isn't there a key like FaceDownMuteAll = 1?
Unfortunately i have the same problem. Flipping the phone is not muting the ring. Maybe its something to do with what we install. Also another strange issue no matter what i do i have the active sync always running in the background.
I have changeScreen installed and if I disable it it works. I think gsenor apps are the cause
Ciciban said:
Face down mute works if you have it face up and somebody calls you. Just turn it face down and ring is muted.
This is only thing I found on this topic.
Click to expand...
Click to collapse
It works straight out of the box, I installed all sort of Gsense apps and it removed and face down mute still works fine.
Even in the case it is faced down and someone ring, I just have to face up, see whos is calling and face down again, it muted.

[REQ] light sensitive keylock

Hello
I tried many locking applications on my diamond. But i didn't find the one i need.
I'm looking for a program that locks screen and keys when the phone is inserted in its cover, and unlock when put out.
Example : my GPS is on, i put my phone in its cover using the earphones (i am on my motorbike), its in my pocket. I need to lock the screen and keys.
Thanks for your help.
Did you try touchlock pro?
http://forum.xda-developers.com/showthread.php?t=444215
Shark_XXL said:
Did you try touchlock pro?
http://forum.xda-developers.com/showthread.php?t=444215
Click to expand...
Click to collapse
Tx for your answer Shark.
Yes i tried it yesterday. The main problem i have is about lock. I have not found any program that locks the sreen and keys when the light sensor detects no light.
i'm using pocket shield which is a great locking software with many configuration including using light sensor to unlock u should give it a try
http://pocketshield.netserver01.com/default.htm
cheers
Tx Shonan.
I tried it, its good !
In fact my real problem is to lock the phone when i use my gps. Unlocking is not a real problem but locking is never depending on the light sensor.
Anyone ? thanks ...
I use S2U2 - before I put my diamond in the my jacket I press the power button and it sleeps the device. When somebody calls - S2U2 manages the call with slide2answer/ignore call - no chance to answer the call when pulling out the device out of my pocket. Where's the big deal with all this locking..I never had problems with it. (Sorry if I sound offensive, I am not offensive)
milillicuti said:
Tx Shonan.
I tried it, its good !
In fact my real problem is to lock the phone when i use my gps. Unlocking is not a real problem but locking is never depending on the light sensor.
Click to expand...
Click to collapse
The light sensor is too unreliable for using it for locking purposes, so therefore it is only used in TouchLockPro for unlocking. Actually, the light sensor is not so sensitive, so if there seems to be plenty of light, the light sensor does not sense light.
TouchLockPro just locks by default, when you just press the power off button. Actually, for GPS usage, you can keep the device locked, without ever unlocking. Even it can go to suspend when the backlight goes off.
Malicieux said:
I use S2U2 - before I put my diamond in the my jacket I press the power button and it sleeps the device. When somebody calls - S2U2 manages the call with slide2answer/ignore call - no chance to answer the call when pulling out the device out of my pocket. Where's the big deal with all this locking..I never had problems with it. (Sorry if I sound offensive, I am not offensive)
Click to expand...
Click to collapse
Brother, I had tried s2u2 for my diamond and it seem to be unstable if you are a frequent caller and lot of incoming call waiting on the other line during your cal season. You will feel the lagging and slow in the display to return to the normal displayed screen. There for I decide to uninstall it as what I need is a lock screen program that only lock the screen and that's what I need. Any one can help?
sensorlock 0.3.4 works great for me, just spin the phone in your hand and it's locked. I use it for GPS/music when running where I want the apps running but don't want to press the screen or buttons accidentally. It's on this forum.
I need this too, a lock based on the light sensor. Sensorlock doesnt work very well as it locks and unlocks on random movements (eg, when walking with it in your pocket), and not just gestures.

Proximity sensor in Touch HD

I recently read on gsmarena that the touch hd has a proximity sensor for auto turn off.
is this true?
if yes, could we use this sensor to automatically answer a call for example
maybe we can add to the sensory sdk of koushi a class for the proximity sensor.
just a thought
tommy.touma said:
I recently read on gsmarena that the touch hd has a proximity sensor for auto turn off.
is this true?
if yes, could we use this sensor to automatically answer a call for example
maybe we can add to the sensory sdk of koushi a class for the proximity sensor.
just a thought
Click to expand...
Click to collapse
I'm guessing that the "proximity" sensor that has been discussed is actually the light sensor beside the earpiece. This can be used to turn the backlight off when applied to your ear during a call. using this as a means to asnwer a call would not be reliable, and what would happen if the phone is in your pocket etc etc.
ardsar said:
I'm guessing that the "proximity" sensor that has been discussed is actually the light sensor beside the earpiece. This can be used to turn the backlight off when applied to your ear during a call. using this as a means to asnwer a call would not be reliable, and what would happen if the phone is in your pocket etc etc.
Click to expand...
Click to collapse
i think is just like the iphone when u place it next to ear the it goes off to save battery ?
It doesn't work like the iPhone.
The HD, like all the devices using a Qualcomm chip, is just switching off the screen when a call starts, the phone next to the ear or not. It just doesn't use the light sensor at all during a call.
I asked for a soft that permit the use of the light and G sensor during a call to switch off/on the screen. You'll find more info here : http://forum.xda-developers.com/showthread.php?t=451456
lpaso said:
It doesn't work like the iPhone.
The HD, like all the devices using a Qualcomm chip, is just switching off the screen when a call starts, the phone next to the ear or not. It just doesn't use the light sensor at all during a call.
I asked for a soft that permit the use of the light and G sensor during a call to switch off/on the screen. You'll find more info here : http://forum.xda-developers.com/showthread.php?t=451456
Click to expand...
Click to collapse
I'm looking for this.. If you find a solution send me a PM, I will do the same
Thanks!
Proximty and resume
The proximty sensor will turn off the screen when places the phone next to your ear. I guess this help to prevent accidental touch on buttons. However, I have a problem with my new Touch Pro2:
When the phone is placed away from your ear, the screen will go back to home instead of previous phone dial pad. When I listen to my voice mail or join a conference, a lot of navigation is needed in order to dial the command buttons.(press a 7 for next, or # for ....)
Any chance to make the screen resume at previous location? My first improvement suggestion to HTC.
Concerning this sensor, funny I thought it was some myth as mine never seemed to work or only half assed. Then after flashing many diff roms and settling on the "energy" Rom I see that much to my pleasent surprise it works perfect, just as intended. This is a fantastic feature and my first device it has actually functioned properly on.
mobiler2 said:
The proximty sensor will turn off the screen when places the phone next to your ear. I guess this help to prevent accidental touch on buttons. However, I have a problem with my new Touch Pro2:
When the phone is placed away from your ear, the screen will go back to home instead of previous phone dial pad. When I listen to my voice mail or join a conference, a lot of navigation is needed in order to dial the command buttons.(press a 7 for next, or # for ....)
Any chance to make the screen resume at previous location? My first improvement suggestion to HTC.
Click to expand...
Click to collapse
hi
yeh there is a setting somewhere that lets you go straight to home when you turn the device on instead of loading the screen it was already on.
its set to default but you can change it.
i forgot what the app was called though, i think it was possibly an option in hd tweak or something
THERE IS NO proximity sensor in touch hd
However I've been told that "Touch Incall Screen Tweak" does beautifully on the HD and probably it's what you´re asking.
http://forum.xda-developers.com/showthread.php?t=488991
leobox1 said:
THERE IS NO proximity sensor in touch hd
Click to expand...
Click to collapse
From what I've been reading spec wise I believe your correct, but I cannot explain then why when I make a call with the HD up to my ear the screen goes dark then when I pull it away to input a number from the kp it lights up. Is it the light sensor then? I'll check in the NRG energy ROM forum and search for some info as I'm running his ROM. I love this feature btw and have not noticed it in any other ROM I've tried.
cbreze said:
From what I've been reading spec wise I believe your correct, but I cannot explain then why when I make a call with the HD up to my ear the screen goes dark then when I pull it away to input a number from the kp it lights up. Is it the light sensor then? I'll check in the NRG energy ROM forum and search for some info as I'm running his ROM. I love this feature btw and have not noticed it in any other ROM I've tried.
Click to expand...
Click to collapse
That's "Touch Incall Screen Tweak" in action!
Thanks for the response. Works a treat.

light sensor app like Iphone (incall screen off)

I was wondering if there's a app that allows the screen to turn off when you put the phone to you head? Then when you bring it out and in front of you, it turns back on. My Iphone did that and I loved that feature.
upping cause i'm intersted too
im believe this feature on the iphone is provided by a proximity sensor, you can probable do this with the light sensor but it would only work in the day time bc at night the screen would always be off...
not unless you use the gsensor too? i think if you work with the light sensor and the gsensor..you can get it to work. maybe have it only work when theres a active call.
This is an extremely good idea!
now if I was only a programmer
i'd love to see this feature on my diamond/blackstone too, i always have problems with the cursor jumping somewhere else when taking a note while in call...
theres already a thread about that:
http://forum.xda-developers.com/showthread.php?t=451456
sweet. thanks
I really love that fuction on iPhone as well. I found some program that can adjust the Light Sensor to dim the back light as you want. I never try it but surely not work in the dark. If any news on this issue, pls advise!!
I think the g-sensor is the answer, off course in combination with light sensor. If someone could make an app that would turn off the backlight during an active call AND when phone is in vertical position; this could resolve difficulties with light sensor.
aonavy said:
I was wondering if there's a app that allows the screen to turn off when you put the phone to you head? Then when you bring it out and in front of you, it turns back on. My Iphone did that and I loved that feature.
Click to expand...
Click to collapse
There are a couple out there that attempt to solve the same problem the iPhone does.
One I know of is Touchlock Pro - http://forum.xda-developers.com/showthread.php?t=444215
It is free but it still has a little way to go before it is a polished solution
The other is PocketShield -- http://www.pocketshield.net/
It's not free but I found it so effective for the in-call problem as well as general locking/unlocking that it was worth paying for
I've also, as a developer by trade, played with the light sensor, g-sensor, and stylus sensor APIs and tried to create a basic proof of concept that solved just the in-call problem very well and found that without the approach taken by Pocketshield it just was not reliable enough for me.
fireweed said:
There are a couple out there that attempt to solve the same problem the iPhone does.
One I know of is Touchlock Pro - http://forum.xda-developers.com/showthread.php?t=444215
It is free but it still has a little way to go before it is a polished solution
The other is PocketShield -- http://www.pocketshield.net/
It's not free but I found it so effective for the in-call problem as well as general locking/unlocking that it was worth paying for
I've also, as a developer by trade, played with the light sensor, g-sensor, and stylus sensor APIs and tried to create a basic proof of concept that solved just the in-call problem very well and found that without the approach taken by Pocketshield it just was not reliable enough for me.
Click to expand...
Click to collapse
All these programms are great software but are nowhere near the iphone solution... like i already said, the problem is e.g. that if you are on the phone and the person on the other end tells you a phonenumber you need to write down - the cursor always jumps to somewhere else as soon as you put your phone back to your ear (and then take it away again ofcourse to continue to notice the number).
ive messed with those apps before with no luch for what i was looking for. Simple app...JUST for incall and end call. light goesout..then comes back in. those other apps are pretty detaild
pitchbend said:
All these programms are great software but are nowhere near the iphone solution...
Click to expand...
Click to collapse
Very true, but unfortunately this hardware does not have the same sensor as the iPhone so you can only fake it so much.
I'd love to see this developed as well. But just wondering as some have mentioned using the gsensor; what if your laying down using the phone?
any developers out there. this would be awsome. make it simple. only works when the phone is in call. the gsensor sensing the phone from 0-45 degrees and only 0-5% light. seems sorta simple when u look at it like that.
hey everyone. My HTC Touch Pro came with this functionality out of the box. And i really don't like it at all. I think the difference to the iphone is that the screen does not turn back on until the power button is pressed.
millab said:
hey everyone. My HTC Touch Pro came with this functionality out of the box. And i really don't like it at all. I think the difference to the iphone is that the screen does not turn back on until the power button is pressed.
Click to expand...
Click to collapse
My diamond does this already?
mine didnt. very weird.
For what it's worth, S2U2 v.1.42 has an option called "blank screen on call" which essentially disables the touch screen and makes it turn off when a call is connected (both sent and received). To get the screen to turn back on, simply press any hardware button. (Note though that pressing the END button while on a call will end the call as well as turning on the screen.)
I've found this feature to be VERY useful and figured it's as close as we're going to get for the time being .

Categories

Resources