Hallo,
i'm using a toolchain for years for development for the zaurus SL-5500G on Linux. No problems. Now i would like to develop for my new SL_C1000. How can I use the new screen resolution of 480x640 px and the landscape format. Do I need new libs or can I change parameters?
Bernd
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151216\"][{POST_SNAPBACK}][/a][/div]
it should be exactly the same. you should not be hardcoding the height and width normally. usually a getWidth() and getHeight() should give you the correct screen size and you write your code in such a way that it doesn't matter what size the screen is and the widgets are rendered dynamically according to the actual size of the screen at run time.
This said, there are exceptions of course. When coding dialogs, the default dialog often is larger than the Z's screen so you will need to resize the dialog box when running on the Z. This usually should be done in such a way that code checks the default width and height and if it is a PDA sized screen, then resize the dialog to make it fit on the screen, otherwise leave it alone. this way, your app can be compiled on any platform with any size screen, or when you export your display to a X server with a higher resolution and bigger monitor, then the same code can handle it without needing a rewrite.