Results 1 to 8 of 8
  1.    #1  
    UPDATED 3/28/05:

    Check out this new article on programming on a Mac!
    http://www.mobile-coder.com/article/...elop-using-osx

    After weeks and weeks of searching for a way to develop Palm applications like all those windoze people, I think I have all the parts you need to make it happen. Being new to the Palm programming scene I thought I would share my research. (best of all its free!!!) Specifically I wanted to begin developing for the Treo 600/650 series, so that is what I have oriented this towards. Keep in mind though that this should also work for any of the other Palms available this day and age.

    1) First thing you will need is xCode 1.5 (for Jaguar 10.3) for Mac OS X. It is the GUI development environment you need to compile/edit/link...n stuff. You must sign up as a developer at:

    http://developer.apple.com/

    Make sure you download the xCode that is for your OS, for me it was 1.5 for Jaguar.

    2) Next you will need PRC-Tools. The link takes you to the OS X build of the latest version.

    http://www.zenonez.com/prctoolsx/

    Download and install the tools.

    3) Now you need to add the additional header files and libraries for PalmOne products to the PRC-Tools that you just installed. Go to:

    http://www.palmone.com/us/developers/

    You will sign-up for a developer account here as well. Once logged in go to the Developer Community link and scroll down to the bottom of the page to Quick Links. There you can get all kinds of goodies, what we want for now though are the Header Files. Download them.

    4) This is the most important next step. The zip file of the headers contained DOS files (extra "^M" character at the end of each line). On a UNIX-based system like OS X, you'll need to "unzip -a headers.zip" in the terminal to correctly extract the files. Note the "-a" flag which automatically converts to UNIX-style text files for you.

    5) After unzipping the files you will need to put them in the include folder that the PRC-Tools were installed to. On my Mac I did a search for the libraries (they are hidden, so make sure you do a search with that criteria). On my Mac the path was:

    Main Hard Drive > usr > local > share > prc-tools > include

    Put the two directories "68k" and "common" along with the header "palmone_68K.h" in the "include" folder.

    Now you have a working compiler in OS X that can take advantage of the all the libraries for the Treo 600/650!!

    Additional thoughts....

    xCode is going to want a Makefile for each program you develop, so see the examples provided by http://www.zenonez.com.

    You might want a place to test your code besides your Treo. There are several options. You can download the Palm Emulator 3.5 and a 4.1.2 ROM image, which is not the same OS as the Treo 650 but you can still test applications that do not use extended features of OS 5 and of the Treo. In general though, I have found testing my programs directly on the Treo is the best way to go for me right now. You will need a developer account at:

    http://palmsource.com/developers/

    Once your are signed up you can download a Palm Emulator. I have seen it posted in various developer forums that PalmSource will be releasing a Mac OS X version of their POSE and Simulator in the 2nd Quarter of 2005. I have tried using the Simulator of the generic PalmSource OS 5 in Virtual PC. It works well, but if you use the Simulator from PalmOne Plugged-in you will be in a pit of despair and will have to wait toooooooooooooooooooooo looooooooooooooong to load and change settings.

    Links...

    Tutorials, tips and tricks:
    http://www.zenonez.com/forums/

    Template file for xCode for the makefile and project settings:
    http://www.blackmac.de/download/PRC-Template.dmg

    Sample source code from PalmOne
    In the quick links section of the developer community: http://developers.palmone.com/

    http://osx-palm-tools.sourceforge.net/

    http://www.classicteck.com/

    Your best chance to learn about the APIs and libraries is to download all the documentation that is available from both PalmOne and PalmSource....

    If anyone has some additional tips/changes to make programming easier on OS X please share!!

    Good Luck...

    -CK
    Last edited by ckonkel; 03/28/2005 at 10:08 AM. Reason: Updating information...
  2. #2  
    Not Mac-specific, but if you find the palmOne Simulator slow, you can uncheck the Settings->Memory->Storage is write-protected option. For serious testing, this should probably be set, but when in a quick development cycle, clearing this option speeds up performance tremendously.

    -Ansel
  3.    #3  
    I found a nice link with lots of resources specific to Treo ...check it out.

    http://www.haslo.ch/permalink_423~en

    -CK
  4. #4  
    Thanks Chris! Very helpful! great job compiling that info and great advice.
  5.    #5  
    Great new article on programming on a Mac at:

    http://www.mobile-coder.com/article/...elop-using-osx
  6. #6  
    Quote Originally Posted by ckonkel
    UPDATED 3/28/05:

    Check out this new article on programming on a Mac!
    http://www.mobile-coder.com/article/...elop-using-osx

    After weeks and weeks of searching for a way to develop Palm applications like all those windoze people, I think I have all the parts you need to make it happen. .....

    Good Luck...

    -CK
    Wow! You did all my research for me. Just what I needed. THANKS.
  7. #7  
    Hi Chris,

    Thanks for the very helful info. I had a bit of trouble finding the headers at first, because it looks as if PalmOne have changed their web layout. There are TWO developer programmes that you can sign up to at www.palmone.com/us/developers, and the relevant one is called 'PluggedIn'. Once signed up and logged in, go to 'Develop' in the menu and then 'Development Kit'. The available downloads appear in a separate menu once there.

    Rob
    Last edited by rwconsultancy; 07/11/2005 at 12:02 AM.
  8. #8  
    Anyone know if this all works with Tiger?


    .. anyways I am about to find out I guess.

Posting Permissions