Palm OS Web Application Developer's Guide: Developing and Delivering PQAs with Web Clipping

URLFetch: An Improvement on Hello World

Although we can add the event mechanism just described to our Hello World application, we will instead create a new application. We will also add a basic Palm OS application framework to this sample. The sample will have the following features:

  • It will have a text field to accept the URL input rather than a hard-coded URL value.

  • It will have a database that will collect server response. This will also enable us to display responses that are more than one page.

  • It will include an event-driven application that will enable us to cancel an existing request or initiate a new request.

  • It will use different INetLib configurations.

  • It will have better error handling.

Understanding the URLFetch Example

We have used two freeware tools to auto-generate documentation for URLFetch. The first tool, CCDOC, a freeware application written by Joe Linoff, generates javadoc-style documentation for the functions. The second tool, LXR, part of the Linux Cross Reference Project, generates a HTML cross-referenced version of source code.

We now go through a few important Palm OS concepts introduced in the URLFetch example. The descriptions are very brief, and we assume that you are familiar with C programming on another platform. Otherwise, you may want to refer to one of the books dedicated to Palm OS programming in C.

Palm OS Device Databases

Unlike desktop databases, Palm OS device databases are very limited in functionality. A database contains a sequence of records, where each record can store...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: GPS Software
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.