background image

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

Copyright © 2002. Nokia Corporation. All rights reserved.

7

2.3.3

 

Usability tips for WAP over GPRS service development

Round-trips in a network always cause a minimum of a two 2-second delay to the response
time.  Therefore, the number of round-trips should be minimised. For example, bitmaps cause
additional round-trips. The response time can also be minimised by keeping the size of a
WAP deck as compact as possible; this is especially important for pages that require an
instant response.  The response time of the first deck has a strong impact to on the user
experience. Therefore, it is worthwhile to maximise Infrastructure optimisation.

Minimise latency between the WAP gateway and content server. Remember that each query
traverses this link twice, once as a request and once as a response.

Place the WAP gateway close to the GPRS gateway. (The GPRS gateway is technically called
a “Gateway GPRS Support Node”, or GGSN.) “Close” in this instance refers to both latency
and probability of packet loss. Lost messages cause additional delay due to HTTP-
retransmission.

2.4

 

Site organization

2.4.1

 

Avoid “doormat” pages

The user accesses your WAP site over a GSM data call, and pays per second. It is not
recommended to start your site using 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 modern Web site hosting environment, it is possible to detect the browser
as well as the language mode and to supply correct content transparently without user
interaction.

Nokia WAP phones send a user agent field in the WSP header to the WAP Gateway when
they fetch content from the origin server. You can use this user agent field to define the
browser type and then build the logic on the origin server to serve suitable content. From the
WAP Gateway, it is then delivered inside the HTTP header.

The user agents for different Nokia phones can be found in the WAP Characteristics table on

www.forum.nokia.com

2.4.3

 

Optimize for size

The size of the content is critical. If you have large decks (for example, lists and large tables),
consider splitting them into multiple parts for faster downloading.

As for the total downloading time, some studies place an upper limit for an acceptable delay
on a PC-based browser at 10 to 15 seconds, including all images. It is highly recommended
to have a response time (excluding connection time) in a mobile environment that is less
than 10 seconds.

Содержание SERIES 40

Страница 1: ...WAP SERVICE DEVELOPER S GUIDE FOR NOKIA SERIES 40 Version 1 0 13 02 02 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: