I was using the smart cover for my Google Nexus 10 for sometime and wondering if the feature can turn off my screen, are there available applications which allow me to program me to do other things like turn off wifi after sometime if cover is closed to conserve battery and back on when the cover if opened. Thanks to anyone with suggestions
That's fairly advanced programming, you'll probably need a custom ROM to be able to do that have a search around on some of the ROM threads and ask the developers if they could help you out
Sent from my Nexus 10 using XDA Premium HD app
roysam123 said:
I was using the smart cover for my Google Nexus 10 for sometime and wondering if the feature can turn off my screen, are there available applications which allow me to program me to do other things like turn off wifi after sometime if cover is closed to conserve battery and back on when the cover if opened. Thanks to anyone with suggestions
Click to expand...
Click to collapse
I'm pretty sure you can use Tasker for that.
Edit: Never mind, it looks like proximity sensor is not supported yet by Tasker on the Nexus 10.
I would imagine it should be fairly easy to write a program that can do this. I know that I use an emulator for Game Boy Advance that has options to use the proximity sensor for controls (havent used it though), so if something like that is able to read data from the sensor then anyone should be able to. And that app doesnt even require root. I would think though that to put the tablet to sleep would require root access to the command. The one thing I dont know about would be waking the tablet up. I would imagine that the proximity sensor would be disabled when the tablet is in deep sleep, so it may not be able to be used to wake up the tablet. And using an app to always keep the sensor awake may prevent the tablet from ever going into deep sleep.
I think the Nexus 10 does NOT have a proximity sensor...
Arcano said:
I think the Nexus 10 does NOT have a proximity sensor...
Click to expand...
Click to collapse
Hmmm, looks like you're right. I downloaded sensor readout app from the play store and it's not registering a proximity sensor.
vogonpoetlaureate said:
Hmmm, looks like you're right. I downloaded sensor readout app from the play store and it's not registering a proximity sensor.
Click to expand...
Click to collapse
I think the smart cover used the magnetic field for the wake and sleep function instead of the proximity sensor. It was my mistake in assuming it was a proximity sensor.
So I'm guessing you just need an app to turn off WiFi when the device is put to sleep? Try this, it worked wonders for me:
http://forum.xda-developers.com/showthread.php?t=1801284
Sent from my Nexus 10 using xda app-developers app
you can simply set the wifi sleep policy to "Always" which will turn off your wifi when you turn off the screen
Arcano said:
I think the Nexus 10 does NOT have a proximity sensor...
Click to expand...
Click to collapse
Can anyone confirm that? Because on Google I get lots of hits with the specs for the Nexus 10 including the proximity sensor.
I just want to use Tap Tap App.
ArrowHood said:
Can anyone confirm that? Because on Google I get lots of hits with the specs for the Nexus 10 including the proximity sensor.
I just want to use Tap Tap App.
Click to expand...
Click to collapse
See for yourself:
https://play.google.com/store/devices/details?id=nexus_10_16gb
Straight from the the play store...
SENSORS
Microphone
Accelerometer
Compass
Ambient light
Gyroscope
Barometer
GPS
No prox sensor...
Related
I'm not sure if this posted elsewhere but i just found this feature and thought it was interesting.
If you wave your hand over the camera when the device is off it partially turns on and gives you indicators for missed called and messages.
To clarify, it is the proximity sensor, and yeah I saw a video of this recently.
motions>more settings>quick glance.
Yea you are right. it is the proximity sensor. I didn't realize this existed and was cleaning the screen and it kept turning on and couldn't figure out what i was doing to get this to happen lol. .
Settings > motion control > quick view in case anyone wants to turn it on/off
Drains a lot battery imo..as proximity sensor keeps on when screen is off..
Sent from my GT-N7100 using Tapatalk 2
Just wanna ask if there is any temporary fix to the proximity sensor of nexus 4.
During calls the screen doesn't turn off when placed close to the face.
I didn't get the chance to test it on stock 4.2 because when i turned my phone on it updated first to 4.2.1. Ever since then it has had proximity sensor not working during calls.
And i have never had any screen protectors on the screen.
Tried many custom ROMS as well but no difference at all.
Sent from my Nexus 4 using xda premium
how about kernals could be a bug in franco.
return it to 100% stock make sure its still doing it under those conditions then if it is contact Google and ask for an RMA this is probably your best course of action. if it has been like this since you pulled it out of the box then contact google right now and tell them the proxmity sensor is clearly broken
I have this issue too, but I'm on CM. Not sure if it's CM being a problem. Can someone on STOCK comment?
BTW as for screen protectors, unless you have a giant bubble or crap on your protector or underneath in the adhesive layer, the proximity sensor should perform fine. Before you blame my screen protector, I downloaded a proximity sensor app to show the readout. The screen protector with no cutout is fine. It's not optimal to have one like that, but the proximity sensor works fine.
isnt there a proximity senor app which lets you test it on the market?
dmo580 said:
I have this issue too, but I'm on CM. Not sure if it's CM being a problem. Can someone on STOCK comment?
Click to expand...
Click to collapse
Using stock. No issues on the sensor. Turns off on calls and turns on when I remove from the face. Have a spigen protector on with a cutout for it
Sent from my Nexus 4 using Tapatalk 2
dmo580 said:
I have this issue too, but I'm on CM. Not sure if it's CM being a problem. Can someone on STOCK comment?
BTW as for screen protectors, unless you have a giant bubble or crap on your protector or underneath in the adhesive layer, the proximity sensor should perform fine. Before you blame my screen protector, I downloaded a proximity sensor app to show the readout. The screen protector with no cutout is fine. It's not optimal to have one like that, but the proximity sensor works fine.
Click to expand...
Click to collapse
I was on stock 2 weeks ago when I started noticing it.
I am on cm now as well and its very much messed up.
Sent from my Nexus 4 using xda premium
bobola said:
isnt there a proximity senor app which lets you test it on the market?
Click to expand...
Click to collapse
There is.
I've installed and tested.
According to the app results, The proximity sensor seems to know when my hand is on it and when its off it. The value changes from 1.0 to 2.0
It just won't work on phone calls.
Sent from my Nexus 4 using xda premium
noobdeagle said:
how about kernals could be a bug in franco.
return it to 100% stock make sure its still doing it under those conditions then if it is contact Google and ask for an RMA this is probably your best course of action. if it has been like this since you pulled it out of the box then contact google right now and tell them the proxmity sensor is clearly broken
Click to expand...
Click to collapse
It doesn't seem to be a hardware issue.
Sensor tests were made and the proximity sensor picks up when my thumb is placed on it.
Problem is on phone calls alone. Right from stock ROM to CM, PA, Xylon, AOKP, almost all of the ROMs.
Sent from my Nexus 4 using xda premium
slimldj said:
It doesn't seem to be a hardware issue.
Sensor tests were made and the proximity sensor picks up when my thumb is placed on it.
Problem is on phone calls alone. Right from stock ROM to CM, PA, Xylon, AOKP, almost all of the ROMs.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Mine is stock and during calls it usually goes to my settings menu and changes my clock setting. When I get off the phone, screen is blank and I hit power button to end call. Still annoying at times when the clock changes.
any luck with finding a fix for the proximity sensor? Mine never works when I'm in a phone call. I have to either wait for the call to end or reset the phone by holding the power button to end the call.
feedmylittletroll said:
any luck with finding a fix for the proximity sensor? Mine never works when I'm in a phone call. I have to either wait for the call to end or reset the phone by holding the power button to end the call.
Click to expand...
Click to collapse
I think it's a bug and not a hardware issue. Perhaps one of the other reason for having a new factory image soon.
Sent from my Nexus 4 using xda premium
feedmylittletroll said:
any luck with finding a fix for the proximity sensor? Mine never works when I'm in a phone call. I have to either wait for the call to end or reset the phone by holding the power button to end the call.
Click to expand...
Click to collapse
I'm suffering this same problem too, hope they fix it soon..
slimldj said:
I think it's a bug and not a hardware issue. Perhaps one of the other reason for having a new factory image soon.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Yes I think the fact that the app testing showed the sensor working so it points to software. Something is missing when the phone is in a call its not connecting to turn off. I thing Jellybean was flawed in many ways. My drop down brightness slider doesn't work for me nor auto brightness its OK for me cause I don't use either but still makes me mad.
Using Tapatalk 2
meetoo
Same problem here. Nexus 4. Stock Android 4.2.1. No screen protector installed.
While I'm in a call - the proximity sensor seems to work, as the screen goes dark... but at the end of the call when removing the phone away from my face, the screen does not come back on - making it impossible to hang up on the call (unless the caller on the other end hangs up first). It also makes it difficult to impossible to switch to and from speakerphone in the middle of a call.
Pushing the power button when this happens doesn't wake the screen either... sometimes it flashes but then goes black again. It doesn't happen on every call... maybe 75% of the time it does happen though. I've installed the proximity sensor app and it seems to recognize "covered" and "uncovered" states correctly when I cover the sensor at the top left corner of the phone while not in a call... so I'm thinking this is actually a software issue with the sensor and not a hardware issue. Drives me nuts though.
I've set "accessibility settings" to have the power button hang up calls as a temporary workaround... we'll see how that works.
treaty said:
Same problem here. Nexus 4. Stock Android 4.2.1. No screen protector installed.
While I'm in a call - the proximity sensor seems to work, as the screen goes dark... but at the end of the call when removing the phone away from my face, the screen does not come back on - making it impossible to hang up on the call (unless the caller on the other end hangs up first). It also makes it difficult to impossible to switch to and from speakerphone in the middle of a call.
Pushing the power button when this happens doesn't wake the screen either... sometimes it flashes but then goes black again. It doesn't happen on every call... maybe 75% of the time it does happen though. I've installed the proximity sensor app and it seems to recognize "covered" and "uncovered" states correctly when I cover the sensor at the top left corner of the phone while not in a call... so I'm thinking this is actually a software issue with the sensor and not a hardware issue. Drives me nuts though.
I've set "accessibility settings" to have the power button hang up calls as a temporary workaround... we'll see how that works.
Click to expand...
Click to collapse
Having the exact same issue here too on stock ROM.
Good idea on the accessibility settings! Will work until/if they fix it..
Also no screen protector.
I had the opposite problem to this where my screen would stay off during a call and I have to force restart to regain control.
Turns out it was the rubbish screen protector causing the issue. This was quickly fixed by cutting the screen protector so that the sensor was uncovered.
Dav_prime said:
I had the opposite problem to this where my screen would stay off during a call and I have to force restart to regain control.
Turns out it was the rubbish screen protector causing the issue. This was quickly fixed by cutting the screen protector so that the sensor was uncovered.
Click to expand...
Click to collapse
It was the same fix for mine when I first got my bse it worked fine for about a week but then over time it got worse. It was the screen protector just that lil bit worth of it wear caused enough blockage of the sensor. I got some new bse's and they now have a cutout for the proximity sensor and are screen optimized.
Sent from my Nexus 4 using Xparent Blue Tapatalk 2
use Proximity Actions by Novum Inceptum in playstore
rat99 said:
use Proximity Actions by Novum Inceptum in playstore
Click to expand...
Click to collapse
That won't fix anything.
Hey guys,
everytime I use the skype app with my headphone the proximity sensor turns the screen black, when I cover it accidentally.
Is there any way, to turn the sensor off? I also don't need it in the dialer app.
I'm using cm12, so the modified skype app with the future, to turn off the proximity sensor doesn't work. x.x
I hope someone have a solution.^^
Thanks in advance.
Edit: Btw. Tasker does have this option, but it only works on 4.2 and bellow...
Sent from my SM-N9005 using XDA Free mobile app
I don't know about disabling it altogether, but you might be able to adjust its' thresholds enough to fit your needs. I don't know exactly where the files controlling that are, but they'll be somewhere in framework. In framework-res/res/values/integers there's "config_proximityCheckTimeout" that's set to a quarter of a second by default...maybe start with that?
Had this phone for about 5 days so far, and coming from an old HTC one X I'm amazed by the battery life! And generally really liking the phone, however..........
I cannot seem to find how to mute the phone's alerts by turning the phone over onto it's screen. i.e. in a meeting or restaurant, phone begins to ring... and I can just flip it quickly over to shut it up and know that it won't ring again whilst turned over.
I know I'm probably being stunningly dim, but any hints?
alex.mc said:
Had this phone for about 5 days so far, and coming from an old HTC one X I'm amazed by the battery life! And generally really liking the phone, however..........
I cannot seem to find how to mute the phone's alerts by turning the phone over onto it's screen. i.e. in a meeting or restaurant, phone begins to ring... and I can just flip it quickly over to shut it up and know that it won't ring again whilst turned over.
I know I'm probably being stunningly dim, but any hints?
Click to expand...
Click to collapse
I guess this isn't supported on x play.
alex.mc said:
Had this phone for about 5 days so far, and coming from an old HTC one X I'm amazed by the battery life! And generally really liking the phone, however..........
I cannot seem to find how to mute the phone's alerts by turning the phone over onto it's screen. i.e. in a meeting or restaurant, phone begins to ring... and I can just flip it quickly over to shut it up and know that it won't ring again whilst turned over.
I know I'm probably being stunningly dim, but any hints?
Click to expand...
Click to collapse
That's a handy feature to have... Someone should work on that.
abhish3k9 said:
That's a handy feature to have... Someone should work on that.
Click to expand...
Click to collapse
It's kernel related I think. You can tell the developers about it on kernel related thread.
K.khiladi said:
It's kernel related I think. You can tell the developers about it on kernel related thread.
Click to expand...
Click to collapse
I don't think so. I think, it's just using the proximity sensor to mute the device while receiving a call. An app for non-rooted phones will do. Though, it can be embedded in custom ROMs.
abhish3k9 said:
I don't think so. I think, it's just using the proximity sensor to mute the device while receiving a call. An app for non-rooted phones will do. Though, it can be embedded in custom ROMs.
Click to expand...
Click to collapse
Nope it isn't that easy that just an app would enable it. X play has notification led also but requires custom kernel to support it.
K.khiladi said:
Nope it isn't that easy that just an app would enable it. X play has notification led also but requires custom kernel to support it.
Click to expand...
Click to collapse
I might be wrong, but, enabling the notification LED i.e letting power into it or establishing a connection to it (hardware level) is different than using a (already working) sensor. The feature mentioned in this thread is just a cleaver use of sensors.
abhish3k9 said:
I might be wrong, but, enabling the notification LED i.e letting power into it or establishing a connection to it (hardware level) is different than using a (already working) sensor. The feature mentioned in this thread is just a cleaver use of sensors.
Click to expand...
Click to collapse
The sensors are working correctly but for that particular trick to work there has to be support from software level and that comes from kernel support. I haven't heard of any app that initiates this flip to mute thing. I could also be wrong. I ain't a developer but just reading stuffs everywhere.
You don't need special kernel support for this.
Any app (if you grant the permission) can mute the phone by setting RINGER_MODE_SILENT via Android Audiomanager.
http://developer.android.com/reference/android/media/AudioManager.html
And any app can choose to be notified on sensor data changes of a specific sensor (e.g. proximity semsor) if it registers a listener for this sensor.
http://developer.android.com/reference/android/hardware/SensorManager.html
If you combine both and put it as background service you have an app that mutes the phone based on sensor input. E.g. if proximity sensor if covered. Quite easy.
Though for flip to mute proximity sensor alone probably doesn't help as the sensor is a also covered if the phone is in your pocket. I guess gyroscope would be best, which X Play doesn't have...
But maybe you can detect the flip motion also via clever combination of magnetometer and accelerometer data?
But I would be very surprised if there were no apps in Google Play which offer flip to mute functionality
u42671 said:
You don't need special kernel support for this.
Any app (if you grant the permission) can mute the phone by setting RINGER_MODE_SILENT via Android Audiomanager.
http://developer.android.com/reference/android/media/AudioManager.html
And any app can choose to be notified on sensor data changes of a specific sensor (e.g. proximity semsor) if it registers a listener for this sensor.
http://developer.android.com/reference/android/hardware/SensorManager.html
If you combine both and put it as background service you have an app that mutes the phone based on sensor input. E.g. if proximity sensor if covered. Quite easy.
Though for flip to mute proximity sensor alone probably doesn't help as the sensor is a also covered if the phone is in your pocket. I guess gyroscope would be best, which X Play doesn't have...
But maybe you can detect the flip motion also via clever combination of magnetometer and accelerometer data?
But I would be very surprised if there were no apps in Google Play which offer flip to mute functionality
Click to expand...
Click to collapse
Thanks for correction and I haven't heard of any app with that feature.
I haven't seen a standalone app for this (but then I haven't really looked too hard) but if you have xposed installed you can use GravityBox which has "Flip action while ringing" under the "Phone Tweaks" section. Options are:
Do nothing (default)
Mute ringer
Dismiss call
The flip action is defined as "device is flipped face down while ringing".
Exactly as title says. Anyone else have the official clear view case from Samsung? Does AOD work when your cover is closed? Would be pretty convenient and for some reason Samsung decided not to include this handy feature...
It's a limitation I think.
AOD require light sensor, proximity sensor and some other sensor to work. The cover render these sensor useless and then may cause problem with AOD, so that's what I think why samsung disable it.
Sent from my GT-I9500 using Tapatalk
NonXtreme said:
It's a limitation I think.
AOD require light sensor, proximity sensor and some other sensor to work. The cover render these sensor useless and then may cause problem with AOD, so that's what I think why samsung disable it.
Sent from my GT-I9500 using Tapatalk
Click to expand...
Click to collapse
Well the proximity sensors work when talking on the phone with the cover closed... Seems like to me this can be implemented with a minor update.
elpindian said:
Well the proximity sensors work when talking on the phone with the cover closed... Seems like to me this can be implemented with a minor update.
Click to expand...
Click to collapse
Are you sure?
I'm not sure about how this kind of case work on new device but I used to have S-view case on my old s4 and it doesn't use proximity sensor to turn display off when calling with cover closed but use motion sensor to detect the movement of the phone to guess whether I'm holding my phone close to my face (and it fail sometimes)
Maybe you can test this by placing your phone on the table when recieving call. Without moving the phone, try cover the proximity sensor and see whether the screen is off.
NonXtreme said:
Are you sure?
I'm not sure about how this kind of case work on new device but I used to have S-view case on my old s4 and it doesn't use proximity sensor to turn display off when calling with cover closed but use motion sensor to detect the movement of the phone to guess whether I'm holding my phone close to my face (and it fail sometimes)
Maybe you can test this by placing your phone on the table when recieving call. Without moving the phone, try cover the proximity sensor and see whether the screen is off.
Click to expand...
Click to collapse
You are correct sir, it does not use the proximity sensors when the clear cover is on. But even with that, it uses the phone's other sensors to wake and sleep the screen... Why can't this be applied to the AOD? Just a little thing that would be nice to have.
elpindian said:
You are correct sir, it does not use the proximity sensors when the clear cover is on. But even with that, it uses the phone's other sensors to wake and sleep the screen... Why can't this be applied to the AOD? Just a little thing that would be nice to have.
Click to expand...
Click to collapse
Because AOD use proximity sensor to detect whether your phone is in the pocket and turn itself off to save battery. Motion sensor can't do that. Also for motion sensor to detect your movement it need to be on all the time, thus massive battery drain.