Namespaces
Variants
Actions

Talk:How to get notification when screen orientation is changed in exe (without CONE)?

Jump to: navigation, search
{{{width}}}
06 Sep
2009
Article Review by savaj (20090906)

Usually console exe does not have graphics, thus does not require listen to change in orientation switching initiated by window serve. If application is GUI application than we can easily get notification orientation switching by CoeControl::HandleResourceChange() method. In rare case console exe also require notification when orientation of device changes, for example, if exe have some graphics to display on desktop of device. But for console exe listening change in orientation is quit difficult.

This article describes how to listen change in orientation in console exe using Active objects. So basic knowledge of Active objects is required to implement this code. Article is very useful to those who show graphics in console exe.


 
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved