Skip to main content

screen orientation on phoneme feature

3 replies [Last post]
Joined: 2008-01-21

My company is developing custom device based on ARM 9261 processor. I managed to build and run phoneme feature software on this device.
Now, device comes with 320x240 LCD screen (width is 320). I managed to get phoneme to use fullscreen through constants.xml, but it's rotated by 90 degrees. Is there any property or constants that defines screen orientation or rotation?
My configuration is based on PCSL with bsd/generic network module, CLDC build is linux_arm and midp build is linux_fb_gcc.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2009-12-21

Hi Olga

I have a similar problem.
I have compiled phoneme feature mr4 for my linux/arm device with touch screen enabled by using tslib. I have complied for linux_fb for midp. My screen size is 320x240. The applications run fine when i use them with the default orientation. But when i try changing the orientation in which the application appears by making reverse_orientation=1 in fbapp_export.c then the touch events don't work properly. The soft buttons like "exit" and "back" don't respond and the virtual keyboard also have the keys wrongly mapped.
I also tried changing the mappings by editing fb_handle_input.c to chage how coordinates obtained from tslib are mapped, but this also doesnt work. I really have no further clue on what else to check.
Any help would be appreciated.


Joined: 2006-10-18

Hi vdjurovic.

Fortunately there is not such constant in constant.xml. You can find variable reverse_orientation in fbapp_export.c file. This variable is responsible for rotation. If you invert it you receive 90 degrees rotation.

Joined: 2008-01-21

Thanks for your help, olga. that was it.