Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 11:43, 25 September 2007.

Developing applications for secondary display

From Forum Nokia Wiki

To develop an application that shows up on the secondary display, as you mentioned you have to set the "default_screen_number = 1" in your application's _reg.rss

For ex:

RESOURCE APP_REGISTRATION_INFO
{ 
   app_file="MySecApp";
   default_screen_number = 1;// 0 for main display
   hidden = KAppIsHidden;
   launch = KAppLaunchInBackground;
}

All applications for secondary screen should explicitly set the secondary display orientation when gaining foreground:

CMySecApp::HandleForegroundEventL( TBool aForeground )
   {
      if( aForeground )
           iEikonEnv->ScreenDevice()->SetScreenMode(EGraphicsOrientationNormal);
   }

The key mappings for the keys in secondary display are:

  • Left soft key (rewind) - EKeyCBA1 (EKeyDevice0)
  • Middle soft key (play/pause) - EKeyOK (EKeyDevice3)
  • Right soft key (forward) - EKeyCBA2 (EKeyDevice1)
  • Volume up key - EKeyUpArrow
  • Volume down key - EKeyDownArrow
  • Mode key - EKeyF10
  • Camera key - EKeyCamera

However there is a problem with drawing the standard Avkon conrols. S60 / Avkon controls or the default S60 application UI do not scale well or at all to the small screen. The resolution mismatch is a known problem in Avkon implementation. The only way to have a proper application would be to write your own custom UI controls to draw on the secondary screen. There isn't much that can be done besides hard coding the correct display size. Moreover S60 global UI does not work on secondary screen. This includes parts of the standard status pane content, like network status.

Related Discussions
Thread Thread Starter Forum Replies Last Post
How to display a dialog until the connection got established? vinsofts Symbian User Interface 0 2005-08-31 08:22
Timer in UI sivasankari21 VoIP 6 2006-11-09 07:42
Developing Series 60 Applications By Addison-Wesley karthikbalaguru General Discussion 1 2004-09-24 17:31
SDK for 6510 ivanmir Mobile Java Tools & SDKs 0 2005-02-25 15:08
about bangali support kmsoomro Mobile Java General 2 2006-02-18 18:15
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX