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, “Main” is called
Main
- runs “StartApplication” to set up user interface of program
- runs “StopApplication” before it stops execution
- all data in RAM
- permanent storage in memory heaps organized in “databases”
- “EventLoop” is run between start and stop