Q- Faster accelerometer ? - Xperia Arc Q&A, Help & Troubleshooting

Is there a way to make the accelerometer more responsive , so that it reacts faster to a position change ? I find that i often have to wait for the screen to come back from landscape mode when tilting back up, it does not respond fast enough .
ANyone ?

anyone? up

Did such a mod on my X10. You have to edit the build.prop. I think it has something to do with proximity.
But I forgot which value it is, sorry.
Sent from my LT15i using XDA Premium App

Related

[Q] SGS Blackberry-ish lock/unlock phone

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?

keyboard questions

hello i feel that the keyboard is quite laggy, do you?
is there a way to correct this?
and also, i feel the buttons are kind of small how can we enlarge them?
thanks
alvespt said:
hello i feel that the keyboard is quite laggy, do you?
is there a way to correct this?
and also, i feel the buttons are kind of small how can we enlarge them?
thanks
Click to expand...
Click to collapse
Try this, it seemed to help mine. Go to settings: developer options: check force gpu rendering. This fixed my laggy keyboard. Also is anyone else having trouble with the keyboard not auto capitalizing the first word in a text? Mine seems to do it at random?
I'm on here searching for the same answer. I only have the problem typing in landscape mode. Portrait is perfect. I can literally type a full sentence while its lagging out and then it spits it all out at once. I'll try the force rendering but then I'll have to worry about some apps not being compatible.
And the no auto-capitalize only affects me on the first word of a message. It gets it every time after that.
One good thing; portrait typing is great for me! Even with my large hands. I'll just stick to this if I can't get the landscape to smooth out.
Sent from my Galaxy Nexus using xda premium
Well it appears that Force Rendering does help my landscape typing. If before I was getting a 2 second delay (just an imaginary number to simplify things), now I'm getting maybe 25% of that. It is still lagging, but it doesn't lag behind more than a few letters at a time. I think I'll disable it for now.
Sent from my Galaxy Nexus using xda premium
ok thanks a lot it realy worked. Regarding the size of buttons any solution?
Sent from my Galaxy Nexus using Tapatalk

[Q] Screen calibration (not horizontal)

Hi to all,
I checked this forum and I can't see similar threads. If it exists just merge it or post a link and close this one. Thanks.
My problem is that I recently bought Samsung Y and for now I can't use to its touch grid. I used HTC tattoo before and it was everything ok with using its touch grid. With Samsung i always must touch slightly up and left than "I can see it needs to be touched". I red in some forums that you cannot calibrate screen because Samsung have some algorithm for autocalibrating but for me it isn't working. The phone has horizontal calibration but it is not what I need. And this problem I have with all applications not just with keyboard (although it is annoying when you type one SMS for a long time!).
Please help me if you can. I rooted my HTC, and if it helps I can root Samsung too, but I can't see that that would help.
uhmm try going to the settings then use the calibration tool..lay flat your galaxy y on a flat surface and press calibrate..this works for me.. ;-)
Sent from my GT-S5360 using XDA App
thecure812 said:
uhmm try going to the settings then use the calibration tool..lay flat your galaxy y on a flat surface and press calibrate..this works for me.. ;-)
Sent from my GT-S5360 using XDA App
Click to expand...
Click to collapse
Like I said in Subject of the thread, I do not need horizontal calibration. :-(
I think the best solution is send it to Samsung service centre since you still have the warranty.
Sent from my GT-S5360 using XDA App
I think that the calibrate function under settings calibrates horizontally and vertically as well.

[info] Sensor Issues - Orientation - ICS leak

If you want to see what the developers are up against with the sensors.
Install and ICS Rom then install
https://play.google.com/store/apps/details?id=net.androgames.level
Lay the phone flat on the table and play with it a bit.
Now try turning it face down above your head and look up at it.
Gives you a little more appreciation for what the developers are dealing with now doesn't it!
So if and when someone fixes that mess, make sure you THANK them!
The only reason why orientation is not fixed yet is because we don't have the official source and it probably won't be fixed until we get it
Sent from my SGH-T989 using Tapatalk
iLeopard said:
The only reason why orientation is not fixed yet is because we don't have the official source and it probably won't be fixed until we get it
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
We don't even need source, just a leaked official ICS kernel for our device.
Sent from my SGH-T989 using XDA Premium App
Any one know if the at&t galaxy note also has flipped accelerometer? If not couldn't we use their ics kernel?
Sent from my SAMSUNG-SGH-T989 using Tapatalk
billydroid said:
Any one know if the at&t galaxy note also has flipped accelerometer? If not couldn't we use their ics kernel?
Sent from my SAMSUNG-SGH-T989 using Tapatalk
Click to expand...
Click to collapse
Good question.. Its pretty much the same setup as the SR but bigger screen right? How can we check on it?
Uh, not sure if our phones are compatible.
I mean the skyrocket and t989 are the same phone besides lte.
Note is different and could possibly brick.
I really dont know anything about development.. But as I understand the skyrocket sensor is flipped, couldnt they take those sensor values and invert them? Not sure if thats possible, probably already been brought up.
And if thats really all they need to do , put it face down on a glass table? Not sure what you mean by holding it over their head..
dosage1 said:
I really dont know anything about development.. But as I understand the skyrocket sensor is flipped, couldnt they take those sensor values and invert them? Not sure if thats possible, probably already been brought up.
And if thats really all they need to do , put it face down on a glass table? Not sure what you mean by holding it over their head..
Click to expand...
Click to collapse
That has to be done at the kernel level which would require source.
You cant just use the Note kernel either because the display is different unless one is willing to trade not being able to have any display for autorotation being fixed.
well the kernel driver only tells the operating system the orientation. Then software takes over. All u gotta do theoretically is recode the orientation to compensate the sifferent orientation to the correct one
Sent from my SAMSUNG-SGH-T989 using xda premium
defconoi said:
well the kernel driver only tells the operating system the orientation. Then software takes over. All u gotta do theoretically is recode the orientation to compensate the sifferent orientation to the correct one
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
Great idea!
Why don't you do that and release an ics rom with correct rotation
defconoi said:
well the kernel driver only tells the operating system the orientation. Then software takes over. All u gotta do theoretically is recode the orientation to compensate the sifferent orientation to the correct one
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
That would require something that runs continously (battery life already is not as good) and takes precedence over the currently running program which would mean again needing to be at kernel level OR taking the source code for all the programs you have installed and have recode it to invert portrait and vice versa.
jim93 said:
That would require something that runs continously (battery life already is not as good) and takes precedence over the currently running program which would mean again needing to be at kernel level OR taking the source code for all the programs you have installed and have recode it to invert portrait and vice versa.
Click to expand...
Click to collapse
Wouldn't the code for the accelerometer be a class for app developers to call on? Could it be possible to edit that code at the end to just have it inverted?
Sent from my SGH-T989 using Tapatalk
hunterhp said:
Wouldn't the code for the accelerometer be a class for app developers to call on? Could it be possible to edit that code at the end to just have it inverted?
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
yes that is what someone would do if they had kernel source.
jangst123 said:
If you want to see what the developers are up against with the sensors.
Install and ICS Rom then install
https://play.google.com/store/apps/details?id=net.androgames.level
Lay the phone flat on the table and play with it a bit.
Now try turning it face down above your head and look up at it.
Gives you a little more appreciation for what the developers are dealing with now doesn't it!
So if and when someone fixes that mess, make sure you THANK them!
Click to expand...
Click to collapse
LOL, just tried it out!
That's crazy,, it's like it's upside down and backwards!
here is a good workaround using tasker
http://forum.xda-developers.com/showthread.php?t=1576256
Sent from my SAMSUNG-SGH-I727 using xda premium
The best way to fix this is to determine the difference in orientation, then, multiply the output by this difference to correct the orientation. This way, you don't modify any code, you just change the output by modifying it with the fixed factor (being the difference in orientation of the sensors).
autom8r said:
The best way to fix this is to determine the difference in orientation, then, multiply the output by this difference to correct the orientation. This way, you don't modify any code, you just change the output by modifying it with the fixed factor (being the difference in orientation of the sensors).
Click to expand...
Click to collapse
Wouldnt the system keep orientation in some basis that has rotational coordinates in which case multiplying isnt the right operation. You would need to add or subtract.
jim93 said:
Wouldnt the system keep orientation in some basis that has rotational coordinates in which case multiplying isnt the right operation. You would need to add or subtract.
Click to expand...
Click to collapse
Perhaps, I was just posting in obviously simplified "psuedo-code". My point was that you would want to build a layer above the UI's output which then filters the output to be appropriate. Most likely if it was degrees, you'd simply subtract or add figures on the X degrees and Y degrees, like you say. I'm not certain, the apps I build deal with time and money, not space, yet
autom8r said:
Perhaps, I was just posting in obviously simplified "psuedo-code". My point was that you would want to build a layer above the UI's output which then filters the output to be appropriate. Most likely if it was degrees, you'd simply subtract or add figures on the X degrees and Y degrees, like you say. I'm not certain, the apps I build deal with time and money, not space, yet
Click to expand...
Click to collapse
This http://forum.xda-developers.com/showpost.php?p=24320571&postcount=5 is pretty much that but it lags a bit because its not kernel side. This is as good as it will get until either a t989 ICS kernel is leaked/released or source for either the skyrocket or 989 is out.

Screen rotatiton lag

Ok, guys.
Everybody knows about screen rotation lag on Android. Somebody has 1 sec, somebody 5 sec lag.
At code.google.com people say it is intentional. And I do believe so. Just try landscape in browser and press home without rotating device, my screen rotates super fast and without any lag.
So does anyone know any possible way to change the delay between the phone being put in landscape and the screen start rotating?
BTW I'm on AndroidME 1.5 CM10 ROM and I did my own research with google with no luck.
Rotation lag has completely disappeared for me since I run JB.
Sent from my Galaxy Nexus using Tapatalk 2
Which ROM Do you run? I'm on JB as well and I do have 1 sec lag.
Stock.
Sent from my Galaxy Nexus using Tapatalk 2
motionz said:
Which ROM Do you run? I'm on JB as well and I do have 1 sec lag.
Click to expand...
Click to collapse
I have about a second of lag too, but it's hard for me to consider this lag. The orientation is dependant upon the accelerometer. The hardware recognizing an adjusted angle and switching the orientation all within a second seems within the confines of reason in my opinion.
Sent from my Galaxy Nexus using Tapatalk 2
The lag you speak of I believe is to make sure the user actually intended to rotate their phone. Its never really bothered me to be honest. Back when I used my Nexus S, CNA had an option to increase the response of this rotation. Not sure if that's included in their JB release though.
But that lag bother me a lot, try rotating phone while in camera you'll how amazingly fast the rotation can be.
Well yeah. It's the camera. Like I said, that tiny bit of lag is to make sure the user intentionally rotated the phone. I'm sure you can edit this via the build prop or something else.
That's why I want to know how I can do this, but I can't find the answer anywhere.
The camera app itself doesn't rotate.
Try holding the phone in landscape then click next where the onscreen keys are, you'll see that they're sill in the portrait orientation.

Categories

Resources