Device Specificity

Team Fly 

Page 658

image

FIGURE 22.9 Some users would panic if this appeared on their cell phone.

image

FIGURE 22.10 Rather than the default messages, intercept errors and show users something they can understand.

Press F5 and VB.NET will choke on the MsgBox, causing an error and displaying your custom message page rather than the default page.

Device Specificity

Although word wrapping, color rendering and other features of display devices are generally automatically handled for you on most mobile devices, you must sometimes perform the old is it Internet Explorer or is it Netscape? branching within your code. Of course Netscape is all but dead now, but varying kinds of mobile operating systems—and varying display capabilities, input keys, and hardware features—are still alive and well. The differences between Palm and Pocket PC systems aren't trivial, not to mention the variations of output you can expect between phones and PDAs.

Team Fly 


Visual Basic  .NET Power Tools
Visual Basic .NET Power Tools
ISBN: 0782142427
EAN: 2147483647
Year: 2003
Pages: 178

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net