×
Namespaces

Variants
Actions
(Difference between revisions)

Softkey labels

From Nokia Developer Wiki
Jump to: navigation, search
Satu (Talk | contribs)
copyeditor (Talk | contribs)
m
Line 1: Line 1:
 
[[Category:Usability]]
 
[[Category:Usability]]
When designing S60 applications, it's important to be follow S60 UI style. Users will find it easier to learn how to use your application, if the look and feel is similar to system applications. What comes to soft keys, in S60 devices the soft key labels are
+
When designing S60 applications, it's important to follow the S60 UI style. Users will find it easier to learn how to use your application, if the look and feel is similar to system applications. What comes to softkeys, in S60 devices the softkey labels are
  
*left soft key: positive actions like OK, Select, Options
+
*left softkey: positive actions like OK, Select, Options
*right soft key: negative actions like Back, Cancel, Quit, Exit
+
*right softkey: negative actions like Back, Cancel, Quit, Exit
  
"Done", even though it can be considered as a positive action, can be placed to right soft key in forms, which have Options menu available (left soft key is "Options").
+
"Done", even though it can be considered as a positive action, can be placed to right softkey in forms, which have Options menu available (left softkey is "Options").
  
With E90 one should notice that on the PDA side soft keys are reversed compared to other S60 devices. Same happens on N93(i) when using landscape mode, too. You can use the following code to find out which soft key is the upper one when the CBA is on the left or right side of the screen:
+
With Nokia E90 one should notice that on the PDA side softkeys are reversed compared to other S60 devices. The same happens on Nokia N93(i) when using landscape mode, too. You can use the following code to find out which softkey is the upper one when the CBA is on the left or right side of the screen:
  
 
<code>
 
<code>
Line 33: Line 33:
 
</code>
 
</code>
  
It should be easy for the user to close the application. The Options menu should always have "Exit" as the last item in the menu. "Exit" can be placed to the right soft key when there is no need for other labels and it's expected that user might want to close the application. In S60 3rd Edition devices pressing the End call key (Red key) closes the application automatically.
+
It should be easy for the user to close the application. The Options menu should always have "Exit" as the last item in the menu. "Exit" can be placed to the right softkey when there is no need for other labels and it's expected that user might want to close the application. In S60 3rd Edition devices, pressing the End key (Red key) closes the application automatically.

Revision as of 11:29, 24 April 2007

When designing S60 applications, it's important to follow the S60 UI style. Users will find it easier to learn how to use your application, if the look and feel is similar to system applications. What comes to softkeys, in S60 devices the softkey labels are

  • left softkey: positive actions like OK, Select, Options
  • right softkey: negative actions like Back, Cancel, Quit, Exit

"Done", even though it can be considered as a positive action, can be placed to right softkey in forms, which have Options menu available (left softkey is "Options").

With Nokia E90 one should notice that on the PDA side softkeys are reversed compared to other S60 devices. The same happens on Nokia N93(i) when using landscape mode, too. You can use the following code to find out which softkey is the upper one when the CBA is on the left or right side of the screen:

TBool IsOptionsButtonOnTop()
{
CEikButtonGroupContainer* cba = CEikonEnv::Static()->AppUiFactory()->Cba();
if( !cba )
{
return EFalse;
}
 
CCoeControl* options = cba->ControlOrNull( EAknSoftkeyOptions );
CCoeControl* exit = cba->ControlOrNull( EAknSoftkeyExit );
 
if( options && exit )
{
if( options->Position().iY < exit->Position().iY )
{
return ETrue;
}
}
 
return EFalse;
}

It should be easy for the user to close the application. The Options menu should always have "Exit" as the last item in the menu. "Exit" can be placed to the right softkey when there is no need for other labels and it's expected that user might want to close the application. In S60 3rd Edition devices, pressing the End key (Red key) closes the application automatically.

109 page views in the last 30 days.