The Internet Encyclopedia (Volume 3)

(coco) #1

P1: IML


Cassel WL040/Bidgoli-Vol III-Ch-65 September 15, 2003 8:52 Char Count= 0


WIRELESSMARKUPLANGUAGE 809

Figure 6: First list attempt.

that reference repeats the HTML syntax for a jump to a
location in the same page. Figure 6 displays the result.
Figure 6 shows the simulated output for this first list.
Immediately, the constraints of the small screen become
apparent. The wordiness of the descriptions is too much
for this device to display well. In Figure 7 the descrip-
tive text has is shorter and the list fits comfortably on the
screen.
The user selects a list option by means of the arrow
keys or by pressing the number corresponding to the cho-
sen list entry. In Figure 7, the Museums entry is chosen.
Pressing the button under the check mark will make the
selection. To continue the application development, the
additional cards are added to the deck. The empty cards
are shown below:

<?xml version = "1.0"?>
<!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD
WML 1.3//EN" "http://www.phone.com/dtd/
wml13.dtd">
<!-- WML file created by Openwave SDK -->
<wml>
<card id = "Start">
<p align = "center"> <b>
City information</b>
</p>
<p align = "center">
<select name = "categories">

<option onpick = "#weather">
Weather
</option>
<option onpick = "#restaurants">
Restaurant List
</option>
<option onpick = "#museums">
Museums
</option>
<option onpick = "#trans">
Public Trans.
</option>
</select>
</p>
</card>
<card id = "weather">
<card>
<card id = "restaurants">
</card>
<card id = "museums">
</card>
<card id = "trans">
</card>
</wml>

The initial display looks no different, but now there is
a card corresponding to each choice. The cards are cur-
rently empty, ready to be filled in with relevant informa-
tion for this application.

Figure 7: Revised list to fit the
screen.
Free download pdf