OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Cxx0 General discussions => Topic started by: jamesannan on July 10, 2004, 03:18:09 am
-
Maybe better on the developer board, but...
How does one write a java app that will respond correctly to screen rotation? Obviously some of them do this fine, but many do not and the simple example code I have found on the web all seems to fall into the latter category. I'm a java newbie, trying to learn. I've found lots of useful introductory info on the web, but nothing that appears to cover this point.
Thanks,
James
-
Maybe better on the developer board, but...
How does one write a java app that will respond correctly to screen rotation? Obviously some of them do this fine, but many do not and the simple example code I have found on the web all seems to fall into the latter category. I'm a java newbie, trying to learn. I've found lots of useful introductory info on the web, but nothing that appears to cover this point.
Thanks,
James
If you are using the Qtopia SDK, you can override the QMainWindow::resizeEvent.
This works for C++, I don't use Java, so I am not sure if you have access to the underlying Qtopia SDK.
Regards,
Clive
-
Nope, I'm just writing java directly on the zaurus and compiling with kopi. It'll be some time before the rotation is really an issue!
James