Summary
There are two environments for developing Palm OS Applications in C/C++. Metrowerks CodeWarrior for Palm OS is the “official” development environment, used by the vast majority commercial developers. Its graphical IDE eases managing project files, creating resources, building targets, and debugging. Its lack of a command-line interface limits the capacity for automatic build scripts or easily generating multiple targets.
PRC tools is an open source package based on the Free Software Foundation’s GNU C/C++ compiler. This toolset suffers from the issues generally found in open source projects: lack of support and anarchic development and unpredictable releases. Although Palm has contributed resources to maintaining and extending these tools, and some of the most talented developers in the Palm community are dedicated to expanding their capabilities, it is still problematic.
Debugging Palm OS Networking applications is a challenge. The best solution is to use the Palm OS Emulator (POSE), configured to use the host computers modem for a dial-up connection. Alternatively, the developer can redirect Net library calls to use the host’s protocol stack, but this introduces several problems. MochaSoft’s MochaPPP allows the developer to connect an actual device to the network, using the host as a PPP server and router.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access