[REQ] App to lock screen when put in holster - Atrix 4G Q&A, Help & Troubleshooting

I've done all the searching I can and the only thing that I've been able to find are requests for this type of functionality, but no apps to provide it. Would anyone be interested in developing an app/service that would recognize the event of putting the phone into a holster with magnetic clip and trigger a lock screen? Conversely, the app/service would notice removal from holster and unlock screen.
This is a function of some blackberry devices and has got to be the thing I miss the most after switching over.

Would be pretty much impposblie since the blackberries have a magnetic switch built in

LancerV said:
Would be pretty much impposblie since the blackberries have a magnetic switch built in
Click to expand...
Click to collapse
yeah, i believe the only magnetic device in the phone is for dock recognition and no holsters are designed to interact with that.

Yeah I had read in some other threads about android phones confusing holsters for docks and was hoping that you could capture that magnetic trigger and tell the phone to lock screen.

The only magnetic sensor on the Atrix is the compas.

barry99705 said:
The only magnetic senson on the Atrix is the compas.
Click to expand...
Click to collapse
not that type of magnetic sensor..

dLo GSR said:
not that type of magnetic sensor..
Click to expand...
Click to collapse
I know. That's why it wont work.

barry99705 said:
I know. That's why it wont work.
Click to expand...
Click to collapse
no, there is one for sensing the dock.

dLo GSR said:
no, there is one for sensing the dock.
Click to expand...
Click to collapse
incorrect, the atrix unlike droidx uses software, and hdmi plus extra events to trigger docks and appropriate modes not magnets

Yup. No magnets in Atrix. Proximity sensor could probably work for this purpose???
Sent from my MB860 using XDA App

try killswitch. it is made for tablets and phones. that might work for you as it uses several different sensors to work.

ehvio said:
Yup. No magnets in Atrix. Proximity sensor could probably work for this purpose???
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
I was thinking something along the lines of the new iPad locking and unlocking when covered. Could something like this be pulled off on the Atrix?

bearsfan172 said:
I was thinking something along the lines of the new iPad locking and unlocking when covered. Could something like this be pulled off on the Atrix?
Click to expand...
Click to collapse
That functionality doesn't come from a proximity sensor, it comes from magnets placed in the covers as well as the front of the iPad.

Thread moved to Q&A.

jkurl said:
try killswitch. it is made for tablets and phones. that might work for you as it uses several different sensors to work.
Click to expand...
Click to collapse
Thanks, accelerometer works to lock screen when the phone is face down but the proximity and light sensors don't seem to be very responsive at all.

Related

Proximity sensor present but no readings.

Using elixir from the market the proximity sensor is listed as being present. Where is it and why does it not display any values?
Sent from my Transformer Prime TF201 using Tapatalk
ffyter said:
Using elixir from the market the proximity sensor is listed as being present. Where is it and why does it not display any values?
Sent from my Transformer Prime TF201 using Tapatalk
Click to expand...
Click to collapse
Something seems to be wrong with my proximity sensor as well..it worked before but since .13 (now on .15 and still not working)..It was working back when I was on .11.1 though.
I know this because I was trying out apps like Smart Screen Pro etc. which turn off the screen when the sensor is covered and all.
Now apps like those don't work for me anymore...and I got AndroSensor to check on my device sensors and the Proximity Sensor sometimes says failed to start, while other times it says "Waiting for event" either way, it never works now
Any help with this?
On my SGS, I had a problem with accelerometer before and I just had to delete a file and let the system recreate it and the problem was fixed. Perhaps something similar can be done with the proximity sensor since it's kinda similar to the accelerometer in the sense that well..they're both sensors of some sort lol
While it actually has a chip that supports the proximity sensor (and thus reports having one), the chip is only used for the ambient light sensor. It doesn't have a proximity sensor.
chamberc said:
While it actually has a chip that supports the proximity sensor (and thus reports having one), the chip is only used for the ambient light sensor. It doesn't have a proximity sensor.
Click to expand...
Click to collapse
Ohhh thanks for the info! I soon realized this as well when I was looking through the apps I was testing out before.. Turns out they were using light sensor and not proximity. D'oh!
Oh well, a proximity sensor on a big tablet doesn't make much sense come to think of it.
Ya it does light sensors use more energy than proximity sensors and control via cover state is quite desirable
flemdroid said:
Ya it does light sensors use more energy than proximity sensors and control via cover state is quite desirable
Click to expand...
Click to collapse
The Prime has a cover state sensor, its magnetic just like that other tablet it is close to the webcam. It is used by the dock to turn off the screen when you close it.
Why no other covers are using it... I have no idea.
Zephyrot said:
The Prime has a cover state sensor, its magnetic just like that other tablet it is close to the webcam. It is used by the dock to turn off the screen when you close it.
Why no other covers are using it... I have no idea.
Click to expand...
Click to collapse
There are some reports that the magnetic sensor only works when the dock is connected. If thats true then one would have to find a way to trick the tablet into turning on the mag sensor manually before it would be any use.
There were some people wanting to use tasker to check the status of the mag sensor for various reasons, detect if its in a case, etc. but they had minimal luck.
Zephyrot said:
The Prime has a cover state sensor, its magnetic just like that other tablet it is close to the webcam. It is used by the dock to turn off the screen when you close it.
Why no other covers are using it... I have no idea.
Click to expand...
Click to collapse
That's a ambient light sensor.
chamberc said:
That's a ambient light sensor.
Click to expand...
Click to collapse
Hrm. No.
I have tested this already myself, going to mod my leather case to allow a small magnet on it so the screen turns off when i close it.
The right spot is tricky to find, but it is there, it works and the dock does not have to be connected for it to work.
You can try it yourself, get one of those weak magnets from the freezer and put it around the frontal camera until the screen turns off. Just remember to deactivate the auto-off timer first
Nope. It does not have one.
Zephyrot said:
Hrm. No.
I have tested this already myself, going to mod my leather case to allow a small magnet on it so the screen turns off when i close it.
The right spot is tricky to find, but it is there, it works and the dock does not have to be connected for it to work.
You can try it yourself, get one of those weak magnets from the freezer and put it around the frontal camera until the screen turns off. Just remember to deactivate the auto-off timer first
Click to expand...
Click to collapse
Can you post a pic with the EXACT placement if this sensor, if it exists?
I have rubbed a magnet over every inch of my Prime and the screen never turns off because of it. With regards to the dock it makes much more sense that a mechanical switch would dictate when the screen turns off, since this would be more reliable and since the dock hinge can function like a switch, and the dock plugs directly into the tablet usurping certain tablet functions so it wold be easy to make the dock take over the function of the power button in certain conditions.
almightywhacko said:
Can you post a pic with the EXACT placement if this sensor, if it exists?
I have rubbed a magnet over every inch of my Prime and the screen never turns off because of it. With regards to the dock it makes much more sense that a mechanical switch would dictate when the screen turns off, since this would be more reliable and since the dock hinge can function like a switch, and the dock plugs directly into the tablet usurping certain tablet functions so it wold be easy to make the dock take over the function of the power button in certain conditions.
Click to expand...
Click to collapse
Ill make one once i get home
---------- Post added at 07:59 AM ---------- Previous post was at 07:54 AM ----------
chamberc said:
Nope. It does not have one.
Click to expand...
Click to collapse
It makes absolute no sense to use an ambient light sensor to turn off a screen. Going from a room or a place with a bit of light into a dark room would turn the screen off.
There are 2 holes on the top of the prime bezel. One is the frontal camera, the other the light sensor. The magnet is not there.
If you are facing your Prime it is to the right and a bit down of your frontal camera.
The manget is in the dock right off the track pad.
You can get the exact location with a paper clip. it will stick there.
So, here is the video...
Sadly like other user noticed, it does not work without the dock Probably happened after one of the updates, cause it was working without dock before.
I found the spot myself.
On my BBOK Transformer Prime, the magnetic sensor is just to the right of the camera, but about one inch down into the screen area. If you play with with the keyboard using a magnet you can find a magnet under the right end of the spacebar.
Unfortunately I can confirm that the tablet won't turn off in this way without the keyboard dock connected.

[Q] Turn screen off when I close cover

Hey guys,
I saw this app:
HTML:
https://play.google.com/store/apps/details?id=it.android.smartscreenoffpro
but couldn't get it to work on my tablet.
Do we have a proximity sensor to do that? Or does anyone know of one that's working?
What cover
What cover are you talking about?
Yup tried it out. Its an interesting idea but I didn't really like it that much. As depends on your wrist not touching the sensor which is quite unavoidable sometimes.
But its a nice concept. Kudos to the developer but the hardware just not optimized for it. Perhaps a better version will make me change my mind.
colint3 said:
What cover are you talking about?
Click to expand...
Click to collapse
Umm well I can't find it on the website but it's a Sony one, hard plastic with like a felt inside that goes on the screen, flips over at the top and holds on to the back. If that makes any sense?
Where is the sensor located? There is auto brightness setting, so there is a sensor some where....
Sent from my Sony Tablet S using xda premium
ataraxist said:
Where is the sensor located? There is auto brightness setting, so there is a sensor some where....
Sent from my Sony Tablet S using xda premium
Click to expand...
Click to collapse
The front camera, I think.
colint3 said:
What cover are you talking about?
Click to expand...
Click to collapse
The point of that app is that it doesn't matter what kind of cover you have. It uses the proximity sensor to detect when a surface (such as the inside of a cover) is on the sensor and locks the screen. Quite useful, depending on the sensitivity and location of the proximity sensor.
agc93 said:
The point of that app is that it doesn't matter what kind of cover you have. It uses the proximity sensor to detect when a surface (such as the inside of a cover) is on the sensor and locks the screen. Quite useful, depending on the sensitivity and location of the proximity sensor.
Click to expand...
Click to collapse
Yeah, I just can't work out where the actual proximity sensor is, I couldn't get it to turn off with the app at all.

True optical mouse

I recently had an idea for an Android app, and possibly accessory. Turn on the flash LED and use the camera like the sensor in an optical mouse, to detect motion compared to the table. This might require a custom case with a lens and spacers. I would pay money for this, and I bet many others would.
Sorry if I am posting in the wrong section.
aselker said:
I recently had an idea for an Android app, and possibly accessory. Turn on the flash LED and use the camera like the sensor in an optical mouse, to detect motion compared to the table. This might require a custom case with a lens and spacers. I would pay money for this, and I bet many others would.
Sorry if I am posting in the wrong section.
Click to expand...
Click to collapse
sounds like a cool idea. yeah defo special case though or scratched up phone. probally would'nt use it much but a cool feature
Sent from my GT-I9300 using xda app-developers app
Using the light like that isn't healthy for it, better off using an app like this: free mouse app
HunnyBearLewis said:
Using the light like that isn't healthy for it, better off using an app like this: free mouse app
Click to expand...
Click to collapse
But that app is a trackpad, not a mouse of the sort that you move around.
Is it possible to PWM the flash? If not, you could always attach a $1 LED flashlight to the case.
I would definitely pay money for this. to be able to use my phone as a Bluetooth mouse would be so much better then using the laptop trackpad. with camera + accellerometer/gyro, I would imagine you could get a reasonable level of responsiveness. seems surprisin that this hasn't been done yet.

The best solution to 'stylus' input on XZU

After the latest OTA push here in USA on AT&T network, I noticed pen and pencils weren't registering well on my screen.
So I purchased a bluetooth Spen from samsung (seen here ------>) http://www.engadget.com/2012/08/15/s...-pen-hands-on/
Removed the tip, cut a 3.5mm headphone male cable with attached metal male part. hacked and cut up the ends of a plastic pen to fit the headphone male metal through. Fit it into the Spen, and now I have pen that can take bluetooth calls.
I recommend watching the ENTIRE video before posting your questions though.
Enjoy.
That's pretty cool, Inspector Gadget!
- "Dude, is that pen vibrating in your pocket, or are you just really happy to see me?"
^ hahaha well played
Video is not playing.. Showing invalid request.. Can. You upload again
Sent from my C6802 using xda premium
I found a 4H pencil with a good round tip worked well
afridiim said:
Video is not playing.. Showing invalid request.. Can. You upload again
Sent from my C6802 using xda premium
Click to expand...
Click to collapse
Try it now.
what rom are you running in that video that enables you to hide the softkeys
MCRHAZ said:
what rom are you running in that video that enables you to hide the softkeys
Click to expand...
Click to collapse
It's not a rom. I'm rooted.
Running an app from the play store called GMD auto hide soft keys root by developer Good Mood Droid
vanadium101 said:
I found a 4H pencil with a good round tip worked well
Click to expand...
Click to collapse
Where did you purchase?
CCJ22 said:
Where did you purchase?
Click to expand...
Click to collapse
A stationary shop.
I wanted to update this thread stating that so far all is working well still. And I'm running a rom as well and rooted and still working fine.

People's edge

Is there any way to get the notification to light up when the phone is face up? And if not how hard would that be to implement in an app? That notification light is real slick imo its just such a shame I never place my phone upside down like that.
dsljk2009 said:
Is there any way to get the notification to light up when the phone is face up? And if not how hard would that be to implement in an app? That notification light is real slick imo its just such a shame I never place my phone upside down like that.
Click to expand...
Click to collapse
"its just such a shame I never place my phone upside down like that" HAHAHA me neither !!!!
I certainly wont be putting my screen onto the desk to get potentially scratched. Its a shame there isn't an option to allow it to glow when face up.
djwilliams100 said:
I certainly wont be putting my screen onto the desk to get potentially scratched. Its a shame there isn't an option to allow it to glow when face up.
Click to expand...
Click to collapse
Shouldn't it be possible as a third party app? It doesn't seem like too difficult of a task but then again my programming experience is limited
there are 2 apps in the store i found. Hope one of them works for you
https://play.google.com/store/apps/details?id=com.golgorz.edgecolornotification
https://play.google.com/store/apps/details?id=zds.edge
dsljk2009 said:
Is there any way to get the notification to light up when the phone is face up? And if not how hard would that be to implement in an app? That notification light is real slick imo its just such a shame I never place my phone upside down like that.
Click to expand...
Click to collapse
Kev Lav said:
"its just such a shame I never place my phone upside down like that" HAHAHA me neither !!!!
Click to expand...
Click to collapse
djwilliams100 said:
I certainly wont be putting my screen onto the desk to get potentially scratched. Its a shame there isn't an option to allow it to glow when face up.
Click to expand...
Click to collapse
dsljk2009 said:
Shouldn't it be possible as a third party app? It doesn't seem like too difficult of a task but then again my programming experience is limited
Click to expand...
Click to collapse
Unfortunately these all require the phone's entire screen to be on. I don't think, with stock firmware and kernal, that we would be able to have Samsung's feature work as it should with the phone facing up. It would be nice tho, since we could have it only use the edge of the screen and save power.
Why on earth did Samsung decide on face down.
Sent from my SM-T700 using XDA Free mobile app
obsydian said:
Why on earth did Samsung decide on face down.
Sent from my SM-T700 using XDA Free mobile app
Click to expand...
Click to collapse
Seriously. Especially when it probably took more work to limit it than it would have to make it not matter.

Categories

Resources