| Home · All Classes · Annotated · Functions |
Qtopia provides the QPhoneStatus class to enable easy access to phone status information.
There is an example of a simple status display for a dual screen phone in src/tools/dualdisplaybasic. It illustrates the use of the phone status library and provides a small display, similar to a monochrome LCD display to display the state of the phone.
There are two options for display:
the status display will appear as a floating display in the Qtopia display. This is the common case for a LCD display which does not need the complete Qtopia Core graphics engine to drive it. To view in this mode, simply run the application.
the status display appears in a separate framebuffer. This case is desirable on a larger, full color secondary display. To view the example in this mode create a separate framebuffer and start the application in this framebuffer.
For example:
qvfb -width 83 -height 46 -qwsdisplay :2
./dualdisplaybasic -qws -display :2
Qtopia Core 4.2 will allow multiple displays to be controlled by a single server process. This will allow a greater degree of integration with the main display and applications with lower overhead.
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |