Palm OS Programming

Palm OS Programming

Wen-Chen Hu (University of North Dakota, USA)
DOI: 10.4018/978-1-59140-769-0.ch013
OnDemand PDF Download:
$37.50

Abstract

Programming for Palm devices is not a trivial task and it is especially hard for beginners starting their first assignment. This chapter is not intended to be a comprehensive Palm programming guide, but rather to give an overview of what a Palm program is and how it works. For details of how to create Palm OS application programs, extensive coverage of this topic is provided by the Palm OS Developer Documentation at the URL (http://www.palmos.com/dev/support/docs/) (PalmSource, Inc. (2004a,b,c). The following steps for getting started with Palm OS programming are taken from PalmSource Inc. (2006): 1. Join the Palm OS Developer Program: Enroll as a member of Palm OS Developer Program at the URL (https://www.developerpavilion.com/palmos/ page.asp?page_id=175) in order to download tools such as Palm OS Developer Suite and receive updates of Palm information. 2. Choose a core platform: There are two versions of the Palm OS core platform: Palm OS Garnet (above Palm OS 5.3) and • Palm OS Cobalt (Palm OS 6). and three Palm OS application types: • Palm OS 68K applications, • Palm OS 68K applications with PACE Native Objects, and • Palm OS Protein applications. 3. Choose a programming language and tools: Although most Palm OS applications are written in C, development environments are available that will let developers create Palm OS applications in a number of different languages including C, C++, Visual Basic, or Java. 4. Learn the basics of Palm OS programming: Basic documentation related to Palm OS programming includes: • Introduction to Palm OS Development Suite, which is a conceptual introduction to all of the tools delivered with Garnet OS Development Suite. It can be found at at the URL (http://www.access-company.com/developers/ documents/docs/dev_suite/PalmOSDevSuite/ToolsTOC.html) • Garnet OS 68K SDK Documentation, which contains documentation on the 68K software development kit. It can be found at the URL (http://www. access-company.com/developers/documents/palmos/index.html). Also, there are several considerations that developers need to keep in mind as they design and build their applications: • Small screen size. • Usage patterns: for example, a handheld may be turned on 40 times in 1 hour. • Limited input methods. • Various wireless connectivity. • Limited computing power. • Short battery life. Actions such as wireless communications, sound, extended animation, or other tasks that occupy the CPU for long periods of time consume a great deal of power. • Small memory. Expansion is often limited to the capacity of an SD card. • Persistent data storage. • Backward compatibility. 5. Consider wireless-enabling applications: Palm powered devices can connect with networks and with each other in an increasing number of ways, including infrared, Bluetooth, Wi-Fi, and cellular telephony. Programmers can benefit from exploring these opportunities, discovering new grab tips, tools, and insights and learning how PalmSource can help test new applications and deploy them in the wireless marketplace. 6. Tailor solutions to specific devices: Although Palm OS forms the core of every Palm powered device, some devices have features that are specific to that device from a Palm OS licensee.
Chapter Preview
Top

Introduction

Programming for Palm devices is not a trivial task and it is especially hard for beginners starting their first assignment. This chapter is not intended to be a comprehensive Palm programming guide, but rather to give an overview of what a Palm program is and how it works. For details of how to create Palm OS application programs, extensive coverage of this topic is provided by the Palm OS Developer Documentation at the URL (http://www.palmos.com/dev/support/docs/) (PalmSource, Inc. (2004a,b,c). The following steps for getting started with Palm OS programming are taken from PalmSource Inc. (2006):

  • 1.

    Join the Palm OS Developer Program: Enroll as a member of Palm OS Developer Program at the URL (https://www.developerpavilion.com/palmos/page.asp?page_id=175) in order to download tools such as Palm OS Developer Suite and receive updates of Palm information.

  • 2.

    Choose a core platform: There are two versions of the Palm OS core platform:

    • Palm OS Garnet (above Palm OS 5.3) and

    • Palm OS Cobalt (Palm OS 6).

      • and three Palm OS application types:

    • Palm OS 68K applications,

    • Palm OS 68K applications with PACE Native Objects, and

    • Palm OS Protein applications.

  • 3.

    Choose a programming language and tools: Although most Palm OS applications are written in C, development environments are available that will let developers create Palm OS applications in a number of different languages including C, C++, Visual Basic, or Java.

  • 4.

    Learn the basics of Palm OS programming: Basic documentation related to Palm OS programming includes:

Also, there are several considerations that developers need to keep in mind as they design and build their applications:

Complete Chapter List

Search this Book:
Reset
Table of Contents
Preface
Wen-Chen Hu
Chapter 1
Wen-Chen Hu
With the introduction of the World Wide Web, electronic commerce revolutionized traditional commerce, boosting sales and facilitating exchanges of... Sample PDF
Fundamentals of Mobile Commerce Systems
$37.50
Chapter 2
Wen-Chen Hu
Commerce, the exchange or buying and selling of commodities on a large scale involving transportation of goods from place to place, benefits from... Sample PDF
Mobile Commerce Applications
$37.50
Chapter 3
Wen-Chen Hu
Mobile users interact with mobile commerce applications by using small wireless Internet-enabled devices, which come with several aliases such as... Sample PDF
Mobile Handheld Devices
$37.50
Chapter 4
Wen-Chen Hu
Without ways to conduct secure commercial information exchange and safe electronic financial transactions over mobile networks, neither service... Sample PDF
Essential Mobile-Commerce Technology
$37.50
Chapter 5
Wen-Chen Hu
As handheld computing is a fairly new computing area, there is as yet no generally accepted formal definition. For the purposes of this book... Sample PDF
Mobile World Wide Web Content
$37.50
Chapter 6
Wen-Chen Hu
Wireless application protocol (WAP) (Open Mobile Alliance, 2003) is a suite of network protocols that specifies ways of sending data across the... Sample PDF
WML (Wireless Markup Language)
$37.50
Chapter 7
Advanced WML  (pages 180-206)
Wen-Chen Hu
Chapter VI discusses the creation of static web pages, which have a fixed content at all times. In order to change static web pages to dynamic ones... Sample PDF
Advanced WML
$37.50
Chapter 8
WMLScript  (pages 207-228)
Wen-Chen Hu
WML is a markup language used for text formatting and displaying (Open Mobile Alliance, 2001). However, the functions of a markup language are... Sample PDF
WMLScript
$37.50
Chapter 9
Wen-Chen Hu
Numerous server-side handheld applications are available for devices. Some popular applications include: • Instant messages, which require service... Sample PDF
Database-Driven Mobile Web Content Construction
$37.50
Chapter 10
Wen-Chen Hu
There are two kinds of handheld computing and programming, namely client- and server- side handheld computing and programming. The most popular... Sample PDF
Client-Side Handheld Computing and Programming
$37.50
Chapter 11
Wen-Chen Hu
Most client-side handheld programming uses either Java or C/C++. This chapter introduces Java ME (previously known as J2ME), which is a version of... Sample PDF
Java ME (Java Platform, Micro Edition) Programming
$37.50
Chapter 12
Wen-Chen Hu
Chapter XI introduced the basics of Java ME programming. This chapter will build on this, focusing on advanced Java ME programming. The following... Sample PDF
Advanced Java ME Programming
$37.50
Chapter 13
Palm OS Programming  (pages 333-350)
Wen-Chen Hu
Programming for Palm devices is not a trivial task and it is especially hard for beginners starting their first assignment. This chapter is not... Sample PDF
Palm OS Programming
$37.50
Chapter 14
Wen-Chen Hu
The introduction to Palm OS programming given in the previous chapter provided an overview of its structure and basic concepts. This chapter... Sample PDF
Advanced Palm OS Programming
$37.50
The Resource Description Files: ResourceDescription1.xrd
About the Author