On Sat, 21 Feb 2004 10:00:01, stuart writes: >About: Converting a Palm application to a Mac OS X application... > >Has anyone done this? > >I have a Palm application where some people are more interested in >running it on a Macintosh (Apple computer). What is the best way to go >about porting a Palm application to a Mac? > >My Palm application is written in C, so, I was thinking of gcc and some >open source graphic library ...
There is a very close correspondence between the Mac OS X Carbon API's and the PalmOS API's in the area of resources, event handling, and 2D graphics. So you might not even need an additional graphics library. One could even write some routines to handle flat pdb database files on the Mac file system. So you could end up with something not quite a one-to-one translation of your C source, but very close. The tools that come for free with OS X can build Carbon applications, and are quite easy to use. Converting to use the OS X Cocoa API and Objective-C or Java is likely to require a much larger rewrite for any typical PalmOS application written in straight C and the classic (non-Cobalt) PalmOS API's. IMHO. YMMV. Ron Nicholson HotPaw Productions http://www.hotpaw.com/rhn/palm -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
