[android-porting] Re: Information regarding to565.c file

2010-10-11 Thread prunand
First, be sure to build the source in order to get the rgb2565 executable. Then, starting with a png (without transparency), do the following: 1. Convert the png to raw format, using imagemagick: convert -depth 8 myimage.png rgb:myimage.raw 2. Run rgb2565 against the png using the following:

[android-porting] Initial Screen Orientation

2010-11-17 Thread prunand
I am working on a device that is designed to be run in landscape mode. The display used is configured as portrait, however. The device has no G-Sensor to detect its orientation. I have modified PhoneWindowManager.rotationForOrientationLw() to return landscape based on an env variable. This work