About This Document
The Exploring Palm OS Series
Additional Resources
Changes to This Document
3107-002
3107-001
Part I: Concepts
1 Programming Palm OS in a Nutshell
Why Programming for Palm OS Is Different
Palm OS Programming Concepts
Integrating Programs with the Palm OS Environment
Uniquely Identifying Your Palm OS Application
Making Your Application Run on Different Devices
Running New Applications on an Older Device
Compiling Older Applications with the Latest SDK
Programming Tools
Where to Go from Here
2 Application Start and Stop
Launch Codes and Launching an Application
Responding to Launch Codes
Responding to Other Launch Codes
Launching Applications Programmatically
Sublaunching in Another Process
Creating Your Own Launch Codes
Stopping an Application
Launch Code Summary
Application Manager Function Summary
3 Events and the Event Loop
Palm OS Events
The Structure of an Event
The Application Event Loop
Handling Form Load Events: the AppHandleEvent() Function
Using Events to Communicate Between Threads
Communicating Between Threads in a Single Process
Communicating Between Threads in Different Processes
Palm OS-Generated Events
Summary of Event APIs
4 Notifications
Notification Overview
Registering for a Notification
Writing a Notification Handler
Sleep and Wake Notifications
Helper Notifications
Notification Summary
Notification Function Summary
Part II: Reference
5 Application Manager
Application Manager Structures and Types
SysAppLaunchCmdFailedAppNotifyType
SysAppLaunchCmdHandleSyncCallAppType
SysAppLaunchCmdInitDatabaseType
SysAppLaunchCmdSyncCallApplicationTypeV10
SysAppLaunchCmdSystemResetType
Application Manager Constants
Launch Preferences Structure Versions
Miscellaneous Application Manager Constants
Application Manager Functions and Macros
6 Common Launch Codes
Common Launch Codes Structures and Types
Common Launch Codes Constants
Miscellaneous Common Launch Codes Constants
Common Launch Codes
sysAppLaunchCmdExportRecordGetCount
sysAppLaunchCmdFailedAppNotify
sysAppLaunchCmdFepPanelAddWord
sysAppLaunchCmdHandleSyncCallApp
sysAppLaunchCmdMultimediaEvent
sysAppLaunchCmdPanelCalledFromApp
sysAppLaunchCmdReturnFromPanel
sysAppLaunchCmdSyncCallApplicationV10
sysAppLaunchCmdSyncRequestLocal
sysAppLaunchCmdSyncRequestRemote
sysCncPluginLaunchCmdGetPlugins
sysCncPluginLaunchCmdUnregister
sysLibLaunchCmdGet68KSupportEntry
sysPackageLaunchGetInstantiate
sysPinletLaunchCmdLoadProcPtrs
sysSvcLaunchCmdGetQuickEditLabel
7 Event
Event Structures and Types
Event Constants
Event Launch Codes
Event Functions and Macros
EvtAddUniqueEventToQueueAtTime
Application-Defined Functions
8 Event Codes
Event Codes Structures and Types
Event Codes Constants
Miscellaneous Event Codes Constants
Event Codes Events
9 Helper
Helper Structures and Types
Helper Constants
Miscellaneous Helper Constants
Helper Notifications
10 Helper Service Class
Helper Service Class Structures and Types
Helper Service Class Constants
11 Notification Manager
Notification Manager Structures and Types
SysNotifyDisplayChangeDetailsType
SysNotifyVirtualCharHandlingType
Chapter 5, "Low-Level Events Reference,"Notification Manager Constants
Miscellaneous Notification Manager Constants
Notification Manager Notifications
sysExternalConnectorAttachEvent
sysExternalConnectorDetachEvent
sysNotifyAltInputSystemDisabled
sysNotifyAltInputSystemEnabled