So it happens if i change the screen ppi density through developer options. Anyone else having the same? Any resolutions?
Known issue
Someone submitted a bug report on OP forums and other users have noticed this, try 520 dpi, as it seems to work well enough till they fix it.
I have mine set at 479 and everything works fine.
Related
I wrote a simple program to listen to the new TYPE_ROTATION_VECTOR sensor and just print out the values to the screen.
It runs for a little while (~5 to 10s), and then reports 0.5 in all fields, and then finally NaNs. Has anyone else tried out this new API successfully? If needed I can upload my test program somewhere, but I really just listened to the calls and printed the values out to the screen.
developer.android.com/reference/android/hardware/SensorEvent.html
OK, I got my apk ready to go.
If other people would be nice enough to test this for me, let me know if the numbers eventually go to .5 and then to NaNs.
Thanks!
Uggghhhhh, forgot the attachment.... >.>
Tested for you.
Same results as on your device. Gives numbers for 10secs or less, then .5s then NaN.
EDIT: That's in portrait. Immediate NaN in landscape.
Be aware that you have to reboot the phone to get it to reset.
This is some sort of API lockup.
I'm getting the same issue as everyone else. If I force close the app and start it back up I will get rotation data for 10s and then +/- 0.5, then NaN after about 15s.
chadrockey said:
Be aware that you have to reboot the phone to get it to reset.
This is some sort of API lockup.
Click to expand...
Click to collapse
Portrait I was able to do it a couple of times just fine.
But you're right about the reboot on landscape. After doing that, it exhibited the same behavior as portrait. Dunno if any of this helps, but figured I'd try!
Yea, thanks everyone.
I'm pretty sure this means the cool new orientation API is broken.
If anyone wants to see what this API is supposed to give us, see this InvenSense Google tech talk:
http://www.youtube.com/watch?v=C7JQ7Rpwn2k
They were the company that made the Wii MotionPlus.
Here's the Gingerbread press release from InvenSense:
http://www.invensense.com/mems/gyro...is_Sensor_Fusion_For_Android_Gingerbread.html
OK, I got it resolved!
There are 4 different speeds you can request when you make a sensor listener:
SENSOR_DELAY_FASTEST ( ~30Hz)
SENSOR_DELAY_GAME (~30Hz)
SENSOR_DELAY_UI (~16.7Hz)
SENSOR_DELAY_NORMAL (~8Hz)
I did not realize that Normal meant for slow, screen rotation sort of events.
However, the bug happens only when you use SENSOR_DELAY_NORMAL. The other 3 (I suspect GAME and FASTEST are the same) all work well.
Here is code that works on my phone. If anyone wants to test this program or look at the absolute orientation of your phone in Rotation vector, quaternion, and Euler angles, give it a shot. Thanks for your help, everyone.
My nexus s' proximity sensors have stopped working. I am rooted and running aokpcb rom, I'm wondering if this is a hardware problem or something with the rom? The screen won't turn off when answering / making a call when the phone is brought up to my ear. I also tried using the app prox pro, and that wouldn't work either. If anyone knows a fix or what the problem is, that would be great.
Backup your current ROM , wipe and install a Stock ROM.
Issue solved --> Rom Issue
Issue unsolved --> hardware issue
Thank you for your response. I tried your suggestion, and the problem wasnt fixed with wiping and installing a stock rom. But, with experimentation, I installed the app "Prox Pro" and whenever I would turn it on, it would execute the command that was specified for when the phone was "flat". So, when realising this, I am assuming that my phone developed some sort of calibration problem with the sensors. All in all, I am wondering if there is a way that I can re-calibrate my proximity sensor so that they work properly. Thank you.
Could that just be the default for the phone if it's not getting a reading?
I don't think its the default. The sensors always worked fine up until sometime last week.
I meant a default if there is no signal or an error, which is what it currently looks like.
Oh, okay, ya that could be it. Do you have any idea how to change it? I also realised that the light sensor isn't working either, when on auto brightness, the screen will always be dim, no matter how bright it is outside. If you, or anyone else has a solution, I will open up my phone and check to see if there are any connection issues or something like that .
Hi all,
I searched for this problem but I never found anyone having it (even google doesn't know the answer).
People have problem with auto-rotation now working but I have another issue.
I installed AOKP MAKO JB MR1 B6 ROM on my nexus 4, and everything works fine but one thing.
When I run some apps, screen is rotated 270 degrees and it cannot be turned anywhere else.
Some apps on the other hand, give me rights to click the buttons that are showed on the screen, and some don't.
On some apps, screen is rotated and squeezed, probably because it wants to show whole screen but its rotated and there is no room (when this happenes i cant click buttons).
Have to mention that i tried everything with auto-rotation options in settings, aswell as with settings in ROM options.
Tried to disable autorotate, to disable 180 degree rotation (ROM), to disable 270 degree rotation (ROM), nothing helped.
One more thing, i wanted to post this into Nexus 4 development section but i don't have the rights to post there since this is my first post.
I would insert some screenshots but i am not able to.
Best regards,
totallnewbie
Hello. I have an Nvidia Shield tablet k1 on lollipop 5.1.1. Everything is great about this tablet except the touch screen. It is really sensitive. Also, when I am scrolling, it "jumps" and goes faster than I actually scrolled. It scrolls faster than it should. I found this thread on xda. It helped a little with the being too sensitive issue, but scrolling is still really weird. This is my second device since the first one's micro sd card was defective. They both are like this. Is there anything I can do, or do I just have to deal with it?
http://forum.xda-developers.com/shield-tablet/general/adjust-touchscreen-sensitivity-t2963326
I was opening a thread with this exact same issue. I'm not on stock though (using the latest CM12 nightly), so I don't seem to have the 'Sensor Calibration' option.
Also the touchscreen seems to register a touch even when the finger is not touching the screen.
On the other hand, if I scroll a very small distance (like 0.5 centimetres) the list I'm scrolling doesn't move at all. This doesn't happen on other devices such as my Nexus 5 and Nexus 7 and is very annoying in some cases (some games, or moving the cursor for keyboard input).
I'll try to record a video of this behaviour.
What can we do to fix this?
Update: found a video (not mine) showing the issue I'm talking about: https://www.youtube.com/watch?v=08uPtusOJHQ
anyone else with this issue?
I also have this issue on/off sporadically on stock rom.
I'll be scrolling and itll jump back the opposite direction
Its like it looses track of the touch then catches it again.
It's irritating as my S5, Nexus 2012 have no problems scrolling smoothly.
I don't recall the original shield i tested in store to have this issue either.
Currently having amazon ship me a replacement to see if its just limited to the one I received. (QA issues)
Calibrating screen might fix the issues: go to About in settings and tap on model number until the calibration screen comes up. then hit calibrate. don't touch the screen then when it asks to reboot, reboot.
variance said:
Calibrating screen might fix the issues: go to About in settings and tap on model number until the calibration screen comes up. then hit calibrate. don't touch the screen then when it asks to reboot, reboot.
Click to expand...
Click to collapse
Did it fix the issue I posted the video about? I'm on Cyanogenmod now so I don't have the option to calibrate the screen, but I would consider going back to stock if it fixed this issue...
Calibration doesnt help at all , same issue at brand new k1. Nvidia says thats normal functionality lol
Yeah, very normal for a gaming tablet which would require precision...
Not trying to take up for this thing but I haven't had the first touch screen issue with it . so maybe not all is affected?? I've tried to replicate the issue but just can't everywhere I touch and slide is smooth
You mean it doesn't "jump" like the OP said? I don't seem to have that issue either.
I'm more concerned about the touchscreen's precision, as shown in the video.
I just purchased my Samsung galaxy S7 yesterday and the screen rotation worked fine until today, the screen rotation did not work at all so I started looking for a way to fix it(factory reset, restart, making sure I had auto rotation activated, tried scanning the gyroscope sensor but it failed) without having to make my own post but here we are, what do you think I can do to fix this?
As its a day old I would return the phone to the store. you've done more than I would have if it's that new.
Looks like a hardware issue, since it exists even after a restart.
do check your rotation setting