Palm recommends you not program to the desktop files, but for those venturesome souls out there, information on the file formats is available.
For C programmers, the full source of the applications is available in the CDK (Conduit Developers Kit) from Palm in their Developer's Zone.
Additionally, a short tutorial with examples for the Perl and QBasic languages can be found here.