I have made changes to support modifying the default screen orientation.
The work is part of a closed-source project, but it may be able to be
released to AOSP. I'll post back if it can be released.
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com
Thanks Dianne, Chinmay.
I investigated the proper HAL way, but it turns out that the device
(bma150) is implemented by the linux driver without support for the
input subsystem. E.g. there's no /dev/input/* device for it, just a
raw data device /dev/bma150. This differs from all the implementations
Hi,
The sensors HAL is definitely where you should look to make these changes.
It should be a simple matter of swapping the values reported for x and y by
the driver.
(and/or reversing the signs) to get the 90degree offset in orientation
right.
The sensor-HAL for froyo being a single-file (Senso
Yes it is just based on the screen size.
You'll need to modify something above the driver if you can't modify the
driver itself. I don't know what amount of sensor HAL was in Froyo, but
maybe that. Or if not you'd have to hack the framework.
On Mon, Jan 24, 2011 at 10:56 AM, Bram wrote:
> How
How is this native orientation defined? Is it based on the dimensions
that the screen reports? E.g. If it reports itself to be 1024x600, it
is assumed that it is natively landscape?
I have a chinese android tablet where I am trying to port froyo to. In
this case, the screen reports itself as 1024x
On 1月13日, 下午11時37分, Dudero wrote:
> Hello,
>
> I have nowhere found how to set the inital screen-orientation of an
> android-build.
> I know that this is possible in an Android-Activtiy or directly by
> manipulating the Android-source...
>
> But I think it should exists a "clean-solution" like a p