Search PalmPower's 487 Palm-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
An introduction to programming the PalmPilot (continued)

Unfortunately, Pila is a fairly bare-bones assembler, lacking conveniences such as macros and conditional assembly. Several bugs also contribute to its inconvenience. Worst, however, is the lack of improvements - it languished for most of the past year; only recently being ported to Linux with a few enhancements. As far as I know, the include files haven't been updated to PalmOS version 2.

However, if you like assembler, and are up to the challenge, it's a usable alternative. I wrote AlCalc using Pila; others have also released applications developed with Pila. Pila and the ASDK are also free.

CASL
CASL (Compact Application Solution Language) is a Windows-hosted alternative to C/C++. You build and test your CASL application on Windows, then compile it to a program which is interpreted on the PalmPilot using their run-time interpreter. This has the downside of requiring the interpreter on the PalmPilot - although if you have multiple CASL applications you only need one interpreter on the PalmPilot, so the overall memory footprint would likely be smaller than several standalone C programs. CASL is $64.95, and demo versions are available.

PalmPilot-based tools
The first PalmPilot-hosted language was Ron Nicholson's cbasPad - a tiny "Chipmunk BASIC" interpreter. Recently, a number of other languages have appeared - Forth, Lisp, even a Java VM is in progress! This is separate from the Jump Java compiler; Jump compiles to assembler which is then run through Pila - Jump development seems to have stalled.

One of the most promising new developments is a C compiler that runs directly on the PalmPilot - PocketC by Jeremy Dewey. Several people have already developed smaller applications with it. PocketC is $18.50. Currently it runs only on the PalmPilot Personal and Professional; Jeremy plans to develop a version which will run on the older Pilot 1000 and 5000. The current version will run on these only if they've been upgraded to PalmOS 2.

While the thought of developing directly on the PalmPilot is enticing, these tools are all primitive compared to the desktop-hosted tools. And it's a pain to write complex code structures in Graffiti.

For more info
Roadcoders at http://www.roadcoders.com is one of the best starting places for PalmPilot programming information. This site links to virtually all the other programming-related sites including FAQs, tools, utilities, sample source code, articles, and other information useful for PalmPilot program development.

3Com provides the PalmOS documentation as PDF files, readable with Adobe's Acrobat reader. They're big files, but absolutely necessary. In addition to the three API manuals (Developing Palm OS Applications Parts 1, 2, and 3) there are tutorial and cookbook manuals, along with FAQs, technical notes, and other tidbits of useful information.

Wade Hatter maintains a programming FAQ (see URL below). Wade wrote an excellent comparison of GCC vs. CodeWarrior which was printed in Handheld Systems magazine in November 1997.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  Next »
Other articles you might like
Home > Phones and PDAs > Palm and Treo > Programming (24 articles)
   How PDA software is born
   Program with Simplicity
   Kinectivity 2.0 brings enterprise application developers new tools
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Other PalmPower Articles
Palm gets up to date with new Tungsten family of handhelds
Create handwritten email with riteMail
Presenter-to-Go puts PowerPoint presentations on your Palm OS handheld
Looking for the cutting edge
Gain remote access to databases and PLCs
PalmSource Open House showcases what's new in the Palm community
Analysis: handheld market share
More from the ZATZ journals
Computing Unplugged: Make Mafia Wars an offer it can't refuse
David Gewirtz Online: CNN commentary and analysis
DominoPower: Application development, William Shatner, and the origin of the universe
OutlookPower: Removing an Office installation that doesn't want to go away
-- Advertisement --

Sent Items Organizer
When you need to file your sent email into their proper folders based on keywords or who it's to. It's also perfect for shared mailboxes.

It also adds a "Send And File" toolbar button while you're composing (similar to the way Lotus Notes used to work) for quick and easy filing.

Find out more!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login