Skip to Main Content
Palm OS Programming, 2nd Edition
book

Palm OS Programming, 2nd Edition

by Julie McKeehan, Neil Rhodes
October 2001
Intermediate to advanced content levelIntermediate to advanced
704 pages
19h 33m
English
O'Reilly Media, Inc.
Content preview from Palm OS Programming, 2nd Edition

What to Remember

In this chapter, we have given you a description of important terminology, standards, and a description of how an application interacts with the Palm OS on a device. Most importantly, you should remember the following:

  • A Palm application is an event-driven system. The system’s event queue feeds a constant flow of events to your application and it is up to you to handle them.

  • Events are fed to four different routines (SysHandleEvent , MenuHandleEvent , AppHandleEvent , FrmDispatchEvent ) in your event loop. Each routine has responsibilities for various events.

  • A standard Palm application has a main routine, PilotMain , from which everything is called. We showed you a sample program that contains a typical PilotMain routine that you will use in your own applications.

  • There are times, other than when opened by the user, when your application may be called by the system. Launch codes and the various launch flags tell your application how it was called by the system and what is expected.

From all of this information, you should now be well on your way to understanding this application architecture. In the following chapters, you will be using this information to move beyond our simple OReilly Starter application to create a full-featured application.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Palm OS Network Programming

Palm OS Network Programming

Greg Winton
Palm Programming: The Developer's Guide

Palm Programming: The Developer's Guide

Neil Rhodes, Julie McKeehan

Publisher Resources

ISBN: 1565928563Errata Page