Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Mobile Flash Development for PocketPC


Benefits of Flash

What are the benefits of using Flash for mobile applications? In the late 1990s, Flash gained its popularity by being a compact format to deliver browser-independent and interactive applications over a low-bandwidth connection. Browser independence was very important several years ago, because Java applets and ActiveX controls were extremely browser-dependent. Some applications worked in Internet Explorer, but not in Netscape (and vice versa). Java developers even faced issues where some applets worked well in Netscape 4.7, but not in Netscape 4.0 because of Java Virtual Machine (JVM) changes. Several years ago, being able to operate over a low-bandwidth connection was very important because broadband-based Internet access was not as widely available as it is today. Images in Flash are vector-based and not rasterized (or bitmapped) as with Java applets and ActiveX controls. So, what does that mean? Take a look at Figures 1 and 2 for an explanation.

Figure 1: Rasterized image at 100 percent and 800 percent (Full Size)

Figure 2: Vector image at 100 percent and 800 percent (Full Size)

So, that's how the "West was won" in the war of interactive browser-based applications. Java applets and ActiveX controls used rasterized images (which are bitmapped) and, therefore, they don't scale very well. If you want to use larger images, then the file size of the application increases, which also increases the amount of time to download it. In Flash, vector-based images are stored as formulas and are rendered on the client. Therefore, as you see in Figure 2, the quality of the image doesn't degrade, no matter how much you scale the image. This allows Flash movies to display extremely crisp images and smooth animations over low-bandwidth connections.

Of course, these same benefits are evident when you use Flash for mobile application development. Now, whether you use Flash for desktop or mobile applications, it is platform-independent, assuming the Flash run-time has been ported to the platform. Table 2 shows a matrix of mobile device that are Flash-capable.

Table 2: Flash-Capable Mobile Devices

Mobile Device PlatformVersion of Flash Supported
PocketPC 2002, 2003Flash 6
Sony CLIÈ NZ90, NX70V, NX60, TG50 and UX50 (now discontinued)Flash 5
Nokia 9210, 9290Flash 5
NTT DoCoMo i-mode 505iFlash Lite (Flash 5 objects with Flash 4 ActionScript)
Motorola A920Flash 5

Today, when you use Flash on the PocketPC platform, you get the best of both worlds between thin-client and thick-client applications. By placing your Flash movie on a Web page, your customers can download the latest version of the application instantaneously, and you don't have to worry about how to deploy or update the application (behaving much like a thin client). However, Flash also allows you to persist data on the client-side and operate when a network connection is not present (behaving like a thick-client).

With all this valuable information under our belts, let's create an application!


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.