Nokia SERIES 40 Developer'S Manual Download Page 25

WAP Service Developer's Guide for Nokia Series 40
Version 1.0

Copyright © 2002. Nokia Corporation. All rights reserved.

25

call is terminated, the phone is in idle state. If the user rejects the latter
confirmation query, the call will be initiated from within the browser display and the
user can browse cached content during the call. No in-call options such as Mute,
Hold etc. are accessible from within the browser application. The options list
belonging to the browser display remains unaffected by the fact that a call is active.

5.2.2

 

Send DTMF tone

The user can send 

DTMF tone

s through the network by executing a WTAI function

called SendDTMF. Just like MakeCall, a typical way of using SendDTMF is to assign
the SendDTMF function to an anchored link. The user must have a voice call active.
When the DTMF tone has been sent, the user returns to the card/deck where s/he
initiated the sending. The voice call remains active.

5.2.3

 

Add a phone book entry

AddPBEntry–function offers an easy way of storing a phone number and a
corresponding name onto the phone book application from a WML card. The service
provider provides the name and number. When the user activates an AddPBEntry
function and the service provider has declared a name and a number, the phone
displays a confirmation query with the text "Save name." When the user accepts the
confirmation query, another confirmation query with the text "With 44
123 123 4567" is displayed and the number is stored in the phone book application.
When saving is done, the currently active card is displayed again. Note that the user
does not have to be online or have any voice calls active in order to use the
AddPBEntry function.

5.3

 

Accesskey

Service providers have the possibility of using the accesskey attribute of the 

a

element and of the anchor element. This permits the user to open links with a long
press of the associated access keys. The allowed keys for access key use are the 0-9
number keys. The service provider should indicate to the user which keys to press in
order to open the desired links. The key can be indicated to the user by adding the
label of the key to the link concerned, e.g. if the service provider associates the “2”
key to a link, the service provider should add the number “2” to the label of the link.

Example 5-1 Using accesskey "2"

<a accesskey="2" href="phone.wml">(2)a </a>

Only one link can be associated with each accesskey. A key will also open its corresponding
link if the service provider has assigned it as an accesskey but does not indicate this to the
user. If the user tries to open a link by using a key that the service provider has not
associated to any link, the key used does not react to the action of the user. An accesskey
has an effect on a link even if the link is not highlighted. The link chosen by the user is
highlighted after the corresponding accesskey has been given a long press. This is visible
while the terminal is fetching the content of the link. A long press of an accesskey also has
an effect when a card contains both accesskeys and a highlighted input element. An input

Summary of Contents for SERIES 40

Page 1: ...WAP SERVICE DEVELOPER S GUIDE FOR NOKIA SERIES 40 Version 1 0 13 02 02 ...

Page 2: ... Nokia Series 40 phones 10 3 2 User interface display and keys 11 3 3 Display fonts 12 3 4 Accessing WAP browser 12 3 5 Navigation labels and titles 12 3 6 Scrolling 12 3 7 Picture viewer 13 3 8 Cache 13 4 WML ELEMENTS FOR THE NOKIA USER INTERFACE 14 4 1 Text formatting 14 4 2 Table 15 4 3 Images 17 4 4 Links 18 4 5 Do element 18 4 6 WML input processing 20 5 OPTIONAL WAP 1 2 1 FEATURES 24 5 1 Pus...

Page 3: ...of any proprietary rights relating to the implementation of information presented in this document Nokia Corporation does not warrant or represent that such use will not infringe such rights Nokia Corporation retains the right to make changes to this specification at any time without notice Licence A licence is hereby granted to download and print a copy of this specification for personal use only...

Page 4: ... general usability issues concerning WAP service development Chapter 3 introduces the browser user interfaces elements keys display and browsing conventions Chapter 4 outlines some general WML elements which are mandatory features on WAP 1 2 1 according to WAP Forum specifications Chapter 5 introduces some optional WAP 1 2 1 features that are supported in most of the WAP1 2 1 compliant phones This...

Page 5: ...eless application protocol specifications can be found at http www wapforum org Information about Nokia products can be found at http www nokia com 1 2 Contact information Developer support for WAP service development and GPRS bearer technology can be obtained through the Forum Nokia Web site at http www forum nokia com ...

Page 6: ...fice or home 2 2 Validate your WML There are several XML validators available that validate your documents against WML Document Type Definition It is recommended that authors validate their WAP pages because invalid WML is always treated as an error and is discarded by the WAP gateway that is it is not shown to the user Several XML validators can be found at http www wapdevelopers org 2 3 GPRS usa...

Page 7: ...sing a doormat page which serves no purpose other than perhaps to greet the visitor and to display a logo It is better if the user can go to your service directly If there is a need to use a timer it should not be longer than 1 5 seconds Otherwise add a link incorporating the text continue to give the user the possibility to exit the card 2 4 2 Automatically detect the browser If you are using a m...

Page 8: ...or the screen size When using images the use of absolute values in pixels is not recommended Sizes should be specified as percentages of the total width or height 2 4 7 Usage of do elements Always use descriptive and short labels for all do elements Favour local do elements instead of anchored links that do not fit into their surrounding context Global do elements should be used only when especial...

Page 9: ...kmarks in the application and that the options item previously selected was Bookmarks Proportional fonts are used in header texts and if the header text is too long it is automatically truncated Truncation is usually better than abbreviation because the user might be confused by unfamiliar abbreviations that can be difficult to understand 2 8 Performing a usability test It is always good to perfor...

Page 10: ...ed in user interaction conventions This chapter concentrates on the hardware element of the Series 40 user interface 3 1 Nokia Series 40 phones The Nokia browser in Series 40 phones has a WAP browser with enhanced features and increased usability The deck size is 2 8kbit including WSP headers and cache size in terminal is 20kbit Other WAP features include predictive text input in WAP T9 and a pict...

Page 11: ...he maximum deck size 3 2 2 Keys in two soft key user interface The Send Talk key works as a selection key The End key exits a data call GRPS connection and goes into idle state when pressed twice The two soft keys The soft keys are assigned actions that enable the user to manipulate the user interface by making selections and entering editing and deleting text The left soft key is used as a yes po...

Page 12: ...d the user is taken to the homepage that is defined for the currently active settings set The access point and home page can be set in the Services Settings menu 3 5 Navigation labels and titles The user should be provided with consistent card headers element titles and do element labels The title of a select element is used in the header of a selection list or option groups list The title of an o...

Page 13: ...rrently active page contains at least one picture animation In the picture viewer pictures animations are displayed similarly to the way pictures animations are displayed in the browser display except that only one picture animation can be viewed at a time 3 8 Cache The browser places viewed cards in cache Therefore the previously visited cards can be quickly accessed as there is no need to reload...

Page 14: ...formatting The contents of a WML card are displayed in the card view The card is a container of text images tables and input elements The order of elements in a card is significant as they appear on the screen in the same order 4 1 1 Paragraph and content alignment The paragraph element p enables word wrapping and content alignment A paragraph always starts on a new line Normal static text informa...

Page 15: ...e tr elements and td elements to create sets of rows and columns of data such as text images and so on It is possible to have text images and tables on the same card The cells are shown in bordered rows and columns The size of the cells is dynamic according to the content of the cells The widest cells affect the width of the other cells in the same column A minimum cell width of 10 pixels is neces...

Page 16: ...r false anchor td td anchor img alt rain src rainy wbmp align bottom go href descr method get sendreferer false anchor td td 25 C td tr tr td T 6 8 td td img alt part cldy src file partcldy wbmp align bottom td td 27 C td tr tr td W 6 9 td td img alt cloudy src file cloudy wbmp align bottom td td 24 C td tr tr td T 6 10 td td img alt rainy src file rainy wbmp align bottom td td 28 C td tr tr td F ...

Page 17: ...e settings Images can also be used inside a table and as a link see example 4 2 above An image that functions as a link is represented with a full line frame around it There cannot be text next to an image the image will always start its own line Figure 4 1 Image and header text If a requested image does not exist or could not be fetched a small default picture will be shown It is also recommended...

Page 18: ...hotlink does not have a title or label the URL address of the link is displayed in its full length and functions as a normal hotlink Example 4 4 Image as a link anchor text go href card2 anchor anchor img alt part cldy src file partcldy wbmp go href card2 anchor 4 5 Do element The do element provides a general mechanism for the user to act upon the current card The do elements are mapped behind th...

Page 19: ...pe or in deck wide scope in a template Do elements will be stored in the browser s options list together with the preloaded options Example 4 5 Deck wide backward navigation prev template do type prev label Back prev do template Example 4 6 Card wide backward navigation do type prev label Back prev do Example 4 7 Do element wml template do name help button type options label Ask Help go href http ...

Page 20: ... view The editor layout is alphanumeric data query layout The options list of the browser display is then extended with the Edit option The T9 option is enabled in the browser The user can select the input element by pressing the Send key The input element consists of a title brackets and a value There can be a default value inside the brackets The title of the element is only displayed when the e...

Page 21: ...e highlighted and displayed with a selected icon in front of it once the user re enters the list during the same browsing session A selection list item on a card looks similar to an input element item it consists of a title brackets and a value There is always a default value inside the brackets in a single selection list in a multiple selection list there are by default three dots between the bra...

Page 22: ...e selection lists is it possible to have option groups that allow multiple selections Example 4 9 Select and optgroup wml card id phones title Information Request p align left Send me more information about select name models title Products multiple true optgroup title Phones option value Nokia 8310 8310 option option value Nokia 5510 5510 option option value Nokia 6310 6310 option optgroup optgro...

Page 23: ...WAP Service Developer s Guide for Nokia Series 40 Version 1 0 Copyright 2002 Nokia Corporation All rights reserved 23 prev do card wml ...

Page 24: ...s and under the options list belonging to the browser display In Service Inbox the received service indications can be viewed deleted or downloaded Note that receiving push services is set to off by default it can be set to on in Service inbox settings 5 2 WTAI public library Wireless Telephony Applications Interface public library Three WTAI Wireless Telephony Applications Interface public librar...

Page 25: ...ed and the number is stored in the phone book application When saving is done the currently active card is displayed again Note that the user does not have to be online or have any voice calls active in order to use the AddPBEntry function 5 3 Accesskey Service providers have the possibility of using the accesskey attribute of the a element and of the anchor element This permits the user to open l...

Page 26: ...nt download over WAP Content download is a technology that is used to deliver digital content such as entertainment and business applications to mobile terminals Another important application is for personalizing terminals according to a user s preferences and lifestyle Content downloading can be initiated by an end user or by a network application The content download mechanism between the mobile...

Page 27: ... and applications that scale across a wide range of bearer networks and device types Embrace existing standards and technology wherever possible WAP architecture WAP and Internet architecture In order to apply as much leverage on the existing Internet standard as possible the WAP stack closely follows the Internet model This is illustrated in Figure 1 Internet HTML JavaScriptTM HTTP TLS SSL TCP IP...

Page 28: ...bandwidth bearer networks with long latency Wireless Transport Protocol WTP The Wireless Transport Protocol WTP runs on top of the datagram service and provides a lightweight transaction oriented protocol suitable for use in mobile terminals WTP operates over secure or non secure wireless datagram networks Wireless Transport Layer Security WTLS Wireless Transport Layer Security WTLS is based on th...

Page 29: ...s written in HTML will have to be converted to WML before they are sent to the mobile terminal This HTML filter may form part of the Web server or the WAP proxy WAP proxy The WAP proxy acts as the gateway between the cellular network and the Internet or Intranet It encodes the information which is to be sent to the mobile terminal in binary format and decodes information sent from the mobile termi...

Page 30: ...for interaction with the user that is letting the user input textual values These can be used for inputs to locally stored scripts or for parsing to origin servers Multiple selection list A selection list which allows the user to scroll and select several or none options to be active Navigation The concept of moving between menu items decks and cards Proportional font A font in which different let...

Reviews: