Hi there,
Coming from a Blackberry Bold 9700 and being now the proud owner of a Samsung Galaxy S, I have to confess I miss a tiny little feature that I had with the BB and that the SGS doesn't have: when I used to put my BB in its case, it would lock the phone automatically.
Well, I know that is an old feature of all BB and that it works via a magnetic mechanism of some sort.
My question is: would it be possible to develop such a feature for the SGS, using the proximity sensor?
Or... is there any existing app that already does this?
FYI, I use this case: http://www.amazon.co.uk/GENUINE-KRU...1?ie=UTF8&s=electronics&qid=1284032013&sr=8-1
Thanks!
Benny
One small question: is this topic in the appropriate forum or should it be in the "Android Development" one?
This could really belong in any of the forums, it's about accessories, an application for locking the phone, and the development of such an application. Congrats, for what it's worth!
But...I don't think this is possible. I'm just another uneducated user though, so what do I know!
This looks cool :
http://androidforums.com/htc-desire/94942-use-proximity-sensor-disable-screen-while-pocket.html#post930969
Thanks for the info, Danesh!
That tool seems to be quite perfect for the job. But I'm afraid it does not work with my (and, I assume, any) SGS...
Can someone take a look at it and see if it can be modded in order for it to work?
Thanks a bunch!
Sent from my GT-I9000 using XDA App
It works but u need to plugin ur headphones first.
Daneshm90 said:
It works but u need to plugin ur headphones first.
Click to expand...
Click to collapse
Oh, ok... But that kind of defeats the purpose I intended to use it for.
Sorry to be such a pain, but is there someone who can enable the sensor to do its job even with no headphones plugged in?
Thanks again!
Benny_Lx said:
Oh, ok... But that kind of defeats the purpose I intended to use it for.
Sorry to be such a pain, but is there someone who can enable the sensor to do its job even with no headphones plugged in?
Thanks again!
Click to expand...
Click to collapse
Im currently creating such an app. Heres wht imma implement :
Using orientation sensor + proximity sensor, if ur phone is in vertical position and proximity sensor returns a 0 for 5s, then the screen turns off (haven't implemented this part yet).
So far i have it working where it sets the brightness to 0 when its dark for 5s, and sets to original brightness when its not dark. Will keep u posted.
Edit : I might not do orientation sensing, cuz tht'll cause too many variations where its not fathomable.
Neone know of any private api's or nething tht allows an app to disable screen ? Might open tht guys app to see.
Daneshm90 said:
Im currently creating such an app. Heres wht imma implement :
Using orientation sensor + proximity sensor, if ur phone is in vertical position and proximity sensor returns a 0 for 5s, then the screen turns off (haven't implemented this part yet).
So far i have it working where it sets the brightness to 0 when its dark for 5s, and sets to original brightness when its not dark. Will keep u posted.
Edit : I might not do orientation sensing, cuz tht'll cause too many variations where its not fathomable.
Neone know of any private api's or nething tht allows an app to disable screen ? Might open tht guys app to see.
Click to expand...
Click to collapse
Thanks, man! That seems awesome!
I would gladly give you a hand, but the truth is I am just a lawyer... lol
I can help you test that, though.
Thanks again.
Just a bump...
Sent from my GT-I9000 using XDA App
hi there.
first of all i think u dont need something like that .. i was a bb user too.. and trust me u dont need.. sgs touch screen only respond to finger.. u can try pen.. or try touching it with your clothes or trew your clothes the screen and see that nothing hapens GL.. so why is necesary the magnetic lock? i dont see the point
I suppose you could set something like this up with Tasker? Using the orientation sensor?
Related
Hey peeps!
I have this new idea for a app that runs on phones with secondary front cams.
Unlock the screen by it doing a face recognition of your face, no need to passcode or pattern lock it...
Hope to see it soon.
If an app like this is alredy available, please post it here, if not - DEVELOP IT AND POST IT HERE!
thats a great idea, the tech already works well enough on laptops so hopefully some bright spark can make it a reality
Would it always have the camera running or only when a button is pressed. I can definitely see this being possible and not too hard to dev.
Sent from my GT-I9000 using XDA App
Exactllly! And still, only noobs like me are seeing seeing this stuff... Some real programmers! Do this!
timmy16744 said:
Would it always have the camera running or only when a button is pressed. I can definitely see this being possible and not too hard to dev.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Camera will wake up as soon as the screen wakes up, and if it sees you, it should unlock.
This is a great idea for an app. Unfortunately, I don't have nearly enough coding skills to pull off facial recognition...
...and I only have skills to successfully use it
It would need something along the lines of Google Goggles recognition software.
Ian_Cog said:
It would need something along the lines of Google Goggles recognition software.
Click to expand...
Click to collapse
Maybe someone can rip off the api's from goggles and make it work offline
Not a bad "concept" but not likely to be done until Gingerbread is used by all the phones.
You see the api to access the ffc on Froyo is very phone specific wich would only make this app run on the Galaxy S (other phones would work also but with a lot of work).
Second problem is how would you unlock your phone when it's complete black (I mean no light at all) would be a very stupid situation to find yourself in isn’t it ?
The sight of my hungover face first thing in the morning is enough to make my phone go to sleep for good lol
Nice idea though, might have an issue with varying light levels though
FlanFlinger said:
Nice idea though, might have an issue with varying light levels though
Click to expand...
Click to collapse
Can't light sensor and screen work together to bring the enough light for camera to work?
Great idea of an app
Is it possible to tweak the keyboard lighting settings because it goes off to soon imho....
thx
WOW looks like this is a one million question..
mr.boonet said:
WOW looks like this is a one million question..
Click to expand...
Click to collapse
Not exactly sure what you mean by this, but the question has been asked lots of times (just do a search on keyboard backlight) as many people complain about it. No great solution so far though unless you install a custom ROM (I know CM6 allows you to customize all of the backlight levels) or cover up your light sensor to keep it lit...
Alternatively, I think there they might be some apps on the market like Power Manager that keep the backlight on, but I have tried any since I use CM6...
ok thanks, i'm running virtuous but idk if its possible to customize it, ill check it out and search the market otherwise thx!
It would only turn off if there's lots of light. There's no timer.
Sent from my T-Mobile G2 running Cyanogenmod.
not talking about a timer, just the sensitivity of the sensor regarding the lighting on keys.... it just goes of to quick imo....
Hi all,
As some of you may know, the I9300 has an RGB ambient light sensor. I made a little app to show off the capabilities of the sensor. It's very basic at the moment since I just finished it but I though I'd share it with you guys and gals before heading to bed.
The sensor in the phone reports raw values, which haven't been adjusted to take into account the different sensitivity the human eye has to different colours. The app compensates a bit, by scaling the raw sensor values according to the CIE response curve. However I have not yet taken the non-linearity of intensity into account.
At the moment the app works best for strong colours.
To use the app:
Launch.
Done.
On the top left are the values reported by the sensor. The bottom square shows the colour after scaling/processing. If you tap the coloured square you can pause/unpause the measurement.
The attached pictures are what I get when I test my monitor. If I hold the phone next to the screen they look almost identical. So I can conclude my laptop screen is ****e
I have only tested this on the international version. So all you US folks, feel free to try it and let me know if it works.
-rcblob
Very nice work, seems like more and more people are learning to dev.
Very raw app, but with some work this could be useful.
Ps. Settings doesn't work
Thanks for the support.
I'm stuck on what to actually do with this, so if anyone has any ideas/features feel free to throw them out there.
Very nice! I'm just thinking that is there anyway we could turn this to an pc monitor calibration tool. Is the sensor accurate enough? Just thinking of the possibilities...
Nice app, i never knowed, that there are an rgb sensor)
Will be very cool if someone make something usefull with that)
Thank you for the show possibilities
Cheers
Sent from my GT-I9300 using xda premium
Rc-Blob said:
Thanks for the support.
I'm stuck on what to actually do with this, so if anyone has any ideas/features feel free to throw them out there.
Click to expand...
Click to collapse
This could be an awesome app for people who want to 'Colour Pick' from swatches, Eg: Paint matching, fabric matching etc...
You could also refine this to tweak & calibrate monitors (LCD/Plasma) just like thos $200.00 sensors you can buy at Photo stores.
For us photographers and cinematographers out there, it could be refined further to become an incident light meter...
Could also be used within a game where sensed colours could match a result of some kind..... endless possibilities..
Anyway, This is a very cool app indeed! I cant stop playing with it, Thanks for this!
Rc-Blob said:
Hi all,
As some of you may know, the I9300 has an RGB ambient light sensor. I made a little app to show off the capabilities of the sensor. It's very basic at the moment since I just finished it but I though I'd share it with you guys and gals before heading to bed.
The sensor in the phone reports raw values, which haven't been adjusted to take into account the different sensitivity the human eye has to different colours. The app compensates a bit, by scaling the raw sensor values according to the CIE response curve. However I have not yet taken the non-linearity of intensity into account.
At the moment the app works best for strong colours.
To use the app:
Launch.
Done.
On the top left are the values reported by the sensor. The bottom square shows the colour after scaling/processing. If you tap the coloured square you can pause/unpause the measurement.
The attached pictures are what I get when I test my monitor. If I hold the phone next to the screen they look almost identical. So I can conclude my laptop screen is ****e
I have only tested this on the international version. So all you US folks, feel free to try it and let me know if it works.
-rcblob
Click to expand...
Click to collapse
:good:
Great!!! Could you show us how did you get the values? Thanks in advance!
values
I am also interested to know how you can access the rgb ambient light sensor values. Is this part of the samsung API?
maicon said:
:good:
Great!!! Could you show us how did you get the values? Thanks in advance!
Click to expand...
Click to collapse
Wow I could calibrate my monitor colour using this app! haha!
Looking forward to updates!!
Sent from my GT-I9300 using xda premium
Does anyone know of a tweak to make my screen turn on automatically when the front camera detects motion in front of it? I have my phone mounted on my wall for home automation tasks and a tweak like what's mentioned here would make me incredibly happy. I've so far not found anything like this. Or maybe it's how I'm wording it. Hopefully you understand and someone can point me in the right direction.
Not really what u looking for. ... but u can turn ur phone on thru proximity sensor e.g tap tap application can help u out
max621 said:
Not really what u looking for. ... but u can turn ur phone on thru proximity sensor e.g tap tap application can help u out
Click to expand...
Click to collapse
Not exactly what I am looking for, but it will work wonders until I can find exactly what I need. Thank you very much, going to test this app out now!
So, I found this feature by mistake and I have been looking for something about it on the Web and can't find anyone talking about it.
After the Marshmallow update (coincidence or not, someone tell me) I have been able to dim the screen manually whenever I want by covering the whole of the watch screen! It's an amazing feature and doesn't require any proximity sensor or whatever.
Is this really new or am I telling you something so "known" that I should hide myself? :angel:
Nevertheless, I felt I should open this thread so that anyone who didn't know it until now, like me, gets to know this amazing feature.
And who already knew, how did huawei manage to do this? The screen must support multi-touch so that it feels several fingers covering the whole screen huh? I've made some tests and it is actually really really accurate.
Try it for yourself :highfive:
This feature worked for me from day one on Huawei, even before the new Marshmallow update.
Cool feature, but been there previously...
-___-
nunoovidigal said:
So, I found this feature by mistake and I have been looking for something about it on the Web and can't find anyone talking about it.
After the Marshmallow update (coincidence or not, someone tell me) I have been able to dim the screen manually whenever I want by covering the whole of the watch screen! It's an amazing feature and doesn't require any proximity sensor or whatever.
Is this really new or am I telling you something so "known" that I should hide myself? :angel:
Nevertheless, I felt I should open this thread so that anyone who didn't know it until now, like me, gets to know this amazing feature.
And who already knew, how did huawei manage to do this? The screen must support multi-touch so that it feels several fingers covering the whole screen huh? I've made some tests and it is actually really really accurate.
Try it for yourself :highfive:
Click to expand...
Click to collapse
Yeah, it's been around for awhile. I guess you didn't go through the introductory demo. I believe the feature has been around since the beginning. I remember seeing it on my old Moto 360 1.0.
On mine it doesn't work? Does it have something to do with the fact that the watch is connected with the iPhone?
Sorry to rain on your parade but as I recall, that was right in the intro tutorial!
Is there a setting to turn this off and on? I can't seem to get this to work. My watch is paired with a Nexus 6.
this feature will work when you have ambient sensor like the 360
noobandroid said:
this feature will work when you have ambient sensor like the 360
Click to expand...
Click to collapse
This feature uses multiple touch points and does not need an extra sensor. It worked on the Huawei from day one.
Got it to work! Thanks for the insight.
It has been like that before MM.
Lol got all exited
Sent from my SM-G935T using Tapatalk
mine does not work..
any setting should be set ?
..
MuF123 said:
You have to get your whole palm touching the touchscreen. Push it against the screen, don't just lightly cover your watch.
Click to expand...
Click to collapse
i tried by touching whole of my palm into the screen, then it vibrate and the screen is off.
is it work like that ? it's just go into standbye mode, not decreasing the brightness
..
MuF123 said:
Weird, maybe it is your watchface. I've tried this with pujie black, go to launcher(menu) and covered the screen.
Watch went to standby, lower brightness, exactly as if it just timed out by itself.
Click to expand...
Click to collapse
i tried to set always ON = ON, and covered the screen with my palm..
then the screen goes to standbye mode with dim watchface as seems like when the screen time out..
but when setting always On=Off, the screen goes off when covered with my palm. like this ?
hendry yes it supposed to behave like this
I'm pretty sure this function was in the tutorial before marshmallow even.