Palm OS Programming: The Developer's Guide, 2/e
Julie McKeehan, Neil Rhodes
- 出版商: O'Reilly
- 出版日期: 2001-11-27
- 售價: $2,300
- 貴賓價: 9.5 折 $2,185
- 語言: 英文
- 頁數: 704
- 裝訂: Paperback
- ISBN: 1565928563
- ISBN-13: 9781565928565
已絕版
買這商品的人也買了...
-
$2,440$2,318 -
$580$452 -
$399CCNA Self-Study: CCNA Basics (CCNAB) (Hardcover)
-
$780$741 -
$590$466 -
$580$493 -
$820$804 -
$490$382 -
$560$504 -
$2,660$2,527 -
$550$468 -
$390$304 -
$480$379 -
$750$593 -
$780$616 -
$590$460 -
$299Enterprise JavaBeans, 4/e (Paperback)
-
$450$360 -
$890$703 -
$390$351 -
$2,480$2,356 -
$650$507 -
$520$406 -
$1,881$1,782 -
$600$480
商品描述
If you know C or C++, and want to join those who are satisfying the demand for wireless applications, then Palm OS Programming: The Developer's Guide, Second Edition is the book for you. With expanded coverage of the Palm OS--up to and including the latest version, 4.0--this new edition shows intermediate to experienced C programmers how to build a Palm application from the ground up. There is even useful information for beginners.
Everything you need to write a Palm OS application is here, from user interface design, to coding a handheld application, to writing an associated desktop conduit. All the major development environments are discussed, including commercial products such as Metroworks CodeWarrior, Java-based environments such as Sun KVM and IBM VisualAge Micro Edition, and the Free Software Foundation's PRC-Tools or GCC. The focus, however, is C programming with CodeWarrior and PRC-Tools. New additions to the second edition include:
- A tutorial that takes a C programmer through the installation of
necessary tools and the creation of a small handheld application.
- A new chapter on memory, with a comprehensive discussion of the
Memory Manager APIs.
- Greatly expanded discussions of forms, forms objects, and new
APIs for the Palm OS.
- Updated chapters on conduits that reflect the newer Conduit
Development Kit.
The best-selling first edition of this book is still considered the
definitive guide for serious Palm programmers; it's used as the basis of Palm's
own developer training materials. Our expanded second edition promises to set
the standard for the next generation of Palm developers.
Table of Contents
Preface
Part I. Overview of the Palm OS
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 Devices2. Technical Overview and Development Environments
Palm OS Overview
Conduit Overview
Handheld Development Environments
Alternative Development Environments
High-Level Forms Development
Handheld Development Recommendations
Conduit Development3. 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 SummaryPart II. Programming a Palm Application
4. Tutorial
POSE
CodeWarrior
PRC-Tools
Installing OReilly Sample project
Installing a PRC on the Handheld
Installing PRC on POSE
Modifying the Sample Application5. 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 Remember6. 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 Remember7. 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 Targets8. Resources and Forms
Resources
Form Characteristics
Form Events
Form-Level APIs
Modeless Forms
Alerts
Modal Dialog Boxes
Forms in the Sales Application9. Form Objects
Form Object Characteristics
Form Object Events
Form Object APIs
Types of Form Objects
Sales Application Forms and Form Objects10. Databases
Overview of Databases and Records
Opening, Creating, and Closing Databases
Working with Records
Examining Databases in the Sales Sample
Summary11. Menus
Menu User Interface
Menu Resources
Application Code for Menus
Adding Menus to the Sample Application
Summary12. Extras
Find
Exchange13. Communications
Serial Communications
TCP/IP CommunicationsPart III. Designing Conduits
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 Conduit15. 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 Conduit16. 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 ConduitPart IV. Appendixes
A. Where to Go from Here
B. Sales Source Code
C. PilRC Manual
Index