Hi everyone! As said in some old message the OMNewRotate is not the best way to turn the screen anymore... So we should have something to turn it, I have read pretty good ideas on the Aux button discussion. Like a script to turn the screen depending on the accel info when the user press the aux button for some time (for example).
I think that's simple and useful. But now, the questions I came to make. I'm planning on making an app that I think is needed for SHR, but I'm starting with this so I might come and ask for help from time to time. I haven't even started, I'm for now looking some other's code to learn what I might need when I have free time. But I came up with this doubt and wanted to ask. Is there a way of asking the OS in which position is the screen? and is there any signal made by the OS so I can listen to it when the screen rotates? 'Cause that would be useful for adapting the apps to the position of the screen. Specifically, I would like to know if it's in landscape mode or not, to adapt the UI of the app the best way possible (would be useful even to adapt the keyboard... which right now is the same size no matter how the screen is). At first I thought of checking myself the accels, but if someone has an automated program to do it (as OMNewRotate), and it turns the screen, and I also do it, it wouldn't be in the right position (you can check it having OMNewRotate and LedClock apps installed together). That's why I think this should be given by the OS. Thanks for reading! |-- Jorge Ávalos --|
_______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
