-
Overview of the Palm OS
-
Chapter 1 The Palm Solution
- How Palm Succeeded
- Elements in the Magic Formula
- Easy to Carry
- Inexpensive
- Expandable
- Effortlessly Connects to a Desktop Computer
- Works Great and Is Simple to Use
- Designing Applications for Palm Devices
- In Conclusion
-
Chapter 2 Technical Overview and Development Environments
- Palm OS Overview
- Conduit Overview
- Handheld Development Environments
- Alternative Development Environments
- High-Level Forms Development
- Handheld Development Recommendations
- Conduit Development
- In Conclusion
-
Chapter 3 Designing a Solution
- User Interface Elements in the Palm OS
- Designing with a Particular User in Mind
- The Well-Designed Form
- Other Design Issues
- How the Sample Applications Are Useful
- User Interface of the Sales Application
- Designing the Sales Application
- Designing the Conduit
- Design Summary
-
-
Programming a Palm Application
-
Chapter 4 Tutorial
- POSE
- CodeWarrior
- PRC-Tools
- Installing OReilly Sample project
- Installing a PRC on the Handheld
- Installing PRC on POSE
- Modifying the Sample Application
-
Chapter 5 Structure of an Application
- Terminology
- Palm OS Conventions
- The Palm OS and an Application
- A Simple Application—OReilly Starter
- Other Times Your Application Is Called
- Examples
- What to Remember
-
Chapter 6 Memory Manager
- Types of Memory
- Dynamic Memory Allocation
- Stack Space
- Handling Large Amounts of Data
- Owner IDs
- Cards and Local IDs
- Using Memory Effectively
- MemoryTestAPIs Example
- What to Remember
-
Chapter 7 Debugging Palm Applications
- POSE
- Graffiti Debugging Shortcuts
- Source-Level Debugging
- Gremlins
- Error Manager
- Palm OS Sources
- Low-Level Debugging with PalmDebugger
- Device Reset
- Using Simulator on Mac OS
- Release/Debug Targets
-
Chapter 8 Resources and Forms
- Resources
- Form Characteristics
- Form Events
- Form-Level APIs
- Modeless Forms
- Alerts
- Modal Dialog Boxes
- Forms in the Sales Application
-
Chapter 9 Form Objects
- Form Object Characteristics
- Form Object Events
- Form Object APIs
- Types of Form Objects
- Sales Application Forms and Form Objects
-
Chapter 10 Databases
- Overview of Databases and Records
- Opening, Creating, and Closing Databases
- Working with Records
- Examining Databases in the Sales Sample
- Summary
-
Chapter 11 Menus
- Menu User Interface
- Menu Resources
- Application Code for Menus
- Adding Menus to the Sample Application
- Summary
-
Chapter 12 Extras
- Find
- Exchange
-
Chapter 13 Communications
- Serial Communications
- TCP/IP Communications
-
-
Designing Conduits
-
Chapter 14 Getting Started with Conduits
- Overview of Conduits
- Using the Backup Conduit
- Registering and Unregistering
- Using Desktop APIs
- Conduit Entry Points
- The HotSync Log
- When the HotSync Button Is Pressed
- Using Conduit Inspector to Verify Your Conduit
- Syncing from POSE
- Creating a Minimal Sales Conduit
-
Chapter 15 Moving Data to and from the Handheld with a Conduit
- Conduit Requirements
- Where to Store Data
- Creating, Opening, and Closing Databases
- Moving Data to the Handheld
- Moving Data to the Desktop
- Keeping the HotSync Progress Dialog Box Alive
- When the HotSync Button Is Pressed
- Portability Issues
- The Sales Conduit
-
Chapter 16 Two-Way Syncing
- The Logic of Syncing
- MFC Conduit Framework
- Generic Conduit Framework
- Generic Conduit Classes
- Using the Wizard to Create a Minimal Generic Conduit
- Custom File Formats
- Handling Categories
- Sales Conduit Based on Generic Conduit
-
-
Appendixes
-
Appendix A Where to Go from Here
- Palm Programming Book Web Site
- The Official Palm Developer Site
- Palm Programming Mailing Lists
- Third-Party Palm Programming Resources
-
Appendix B Sales Source Code
- Source Code
- Headers
- Resources
- PRC-Tools Build Files
-
Appendix C PilRC Manual
- Usage
- Understanding the Manual
- Resource Language Reference
- FORM (tFRM)
- MENU (MBAR)
- ALERT (Talt)
- VERSION
- STRING (tSTR)
- STRINGTABLE (tSTL)
- CATEGORIES (tAIS)
- APPLICATIONICONNAME (tAIN)
- APPLICATION (APPL)
- LAUNCHERCATEGORY (taic)
- ICON (tAIB)
- SMALLICON (tAIB)
- BITMAP (Tbmp) (tbsb)
- TRAP (TRAP)
- FONT (NFNT)
- FONTINDEX
- HEX
- DATA
- INTEGER (tint)
- BYTELIST (BLST)
- WORDLIST (wrdl)
- LONGWORDLIST (DLST)
- PALETTETABLE (tclt)
- FEATURE (tfea)
- GRAFFITIINPUTAREA (silk)
- COUNTRYLOCALISATION (cnty)
- KEYBOARD (tkbd)
- MIDI (MIDI)
- International Support
- Known Bugs
-
-
Colophon
- Title:
- Palm OS Programming, Second Edition
- By:
- Julie McKeehan, Neil Rhodes
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- October 2001
- Pages:
- 702
- Print ISBN:
- 978-1-56592-856-5
- | ISBN 10:
- 1-56592-856-3
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The bird on the cover of Palm OS Programming: The Developer's Guide, Second Edition, is a rock dove. There are 14 subspecies of rock dove, including the domestic pigeon. These birds are widely distributed throughout the world. In their native environment, rock doves live on rocky cliffs, building their nests in crevices and caves. In the urban environment that most domestic pigeons inhabit, nests are built on the ledges of buildings. Rock doves are not migratory birds; they establish permanent residences. Domestic pigeons often have a range as small as 500 square meters. The rock doves' diet consists mainly of grains containing meal and oil. They also feed on insects and snails, and they supplement this diet with stones, sand, and clay. There is a considerably less savory aspect of their diet, as well: rock doves often satisfy their salt requirements by feeding at dung heaps, or near refuse or human waste sites.
The rock dove population has exploded as many of their natural predators, such as the falcon, hawk, and owl, have decreased in number. This population increase is also helped along by humans, who feed the birds. Linley Dolby was the production editor and proofreader for Palm OS Programming: The Developer's Guide, Second Edition. Mark Nigara was the copyeditor. Rachel Wheeler, Sada Preisch, Mary Anne Weeks Mayo, and Claire Cloutier provided quality control. John Bickelhaupt wrote the index. Edie Shapiro, Jeffrey Holcomb, Derek Di Matteo, Ann Schirmer, Tatiana Apandi Diaz, and Sarah Sherman provided production support.
Edie Freedman designed the cover of this book using a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with Quark-XPress 4.1 using Adobe's ITC Garamond font.
Melanie Wang designed the interior layout, based on a series design by David Futato. Neil Walls converted the files from Microsoft Word to FrameMaker 5.5.6 using tools created by Mike Sierra. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Clairemarie Fisher O'Leary.
Whenever possible, our books use a durable and flexible lay-flat binding.
