Palm OS Application Model
One application is “running”
- running application has control of the screen and user input
- others may be active in the background and receive other I/O events
- when application starts, “PilotMain” is called
Main
- runs “AppStart” to set up user interface of program
- runs “AppStop” before it stops execution
- all data in RAM
- permanent storage in memory heaps organized in “databases”
- “AppEventLoop” is run between start and stop