session 9

24
Session 9 More on Mobile Applications

Upload: pradeep-sripada

Post on 06-Jul-2015

262 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Session 9

Session 9

More on Mobile Applications

Page 2: Session 9

More on Mobile Applications/ 2 of 24

Session Objectives

Use Mobile Internet Controls Use the Device capabilities component Use Templates Use Pagination Discuss the future of Mobile Internet

Page 3: Session 9

More on Mobile Applications/ 3 of 24

Mobile Internet Controls few more advanced controls

<mobile : Image> <mobile : Call> <mobile : Calender> <mobile : List>

Page 4: Session 9

More on Mobile Applications/ 4 of 24

<mobile : Image>

Used to display images on a mobile device

WAP supports WBMP (Wireless BitMaP) picture format

Page 5: Session 9

More on Mobile Applications/ 5 of 24

Example Example 1 -

Page 6: Session 9

More on Mobile Applications/ 6 of 24

Output

Page 7: Session 9

More on Mobile Applications/ 7 of 24

Attributes

Attributes of <mobile: Image>

Page 8: Session 9

More on Mobile Applications/ 8 of 24

<mobile : Call> Allows the user to call a particular number Example 2

Page 9: Session 9

More on Mobile Applications/ 9 of 24

Output

Page 10: Session 9

More on Mobile Applications/ 10 of 24

Attributes

Attributes of <mobile:Call >

Page 11: Session 9

More on Mobile Applications/ 11 of 24

<mobile : Calender> Facilitates the user to enter the dates Example 3

Page 12: Session 9

More on Mobile Applications/ 12 of 24

Output

Page 13: Session 9

More on Mobile Applications/ 13 of 24

Attributes

Attributes of <mobile:Calendar >

Page 14: Session 9

More on Mobile Applications/ 14 of 24

<mobile : List> Allows developers to provide users with

simple non-interactive lists of plain text or links

Page 15: Session 9

More on Mobile Applications/ 15 of 24

Example Example 4 -

Page 16: Session 9

More on Mobile Applications/ 16 of 24

Output

Page 17: Session 9

More on Mobile Applications/ 17 of 24

Attributes Attributes of <mobile:List >

Page 18: Session 9

More on Mobile Applications/ 18 of 24

Mobile Internet Validation Controls

Validation controls provided with the MIT –

< mobile : RequiredFieldValidator > < mobile : RangeValidator > < mobile : CompareValidator > < mobile : RegularExpressionValidator > < mobile : CustomValidator > < mobile : ValidationSummary >

Page 19: Session 9

More on Mobile Applications/ 19 of 24

Applying styles to mobile web pages

Formatting attributes -

Page 20: Session 9

More on Mobile Applications/ 20 of 24

Example Example 5 -

Page 21: Session 9

More on Mobile Applications/ 21 of 24

Output

Page 22: Session 9

More on Mobile Applications/ 22 of 24

Pagination Pagination allows us to break large

pieces of text into smaller pieces Take a look at this -

Page 23: Session 9

More on Mobile Applications/ 23 of 24

Example Example 6

Page 24: Session 9

More on Mobile Applications/ 24 of 24

Output