On Mon, Oct 02, 2000 at 05:07:17PM -0700, Brad Lowe wrote:
> Greetings,
>
> I'm writing a Palm app that requires a custom data file (>250K) that I need
> random access to. The data file is read-only, and needs to be downloaded to
> the palm a HotSync every month or so.
>
> Seems like the File Streaming API would work, but how do I create the data
> file and get it installed on a user's Palm? Is there a file extension that I
> can use so I can drag and drop it into an Install Files dialog? Any size
> restrictions?
>
> Sounds like I might have to create a custom .pdb file... but can I open a
> .pdb "file" with the File Streaming API? Also, is there a size limit to a
> .pdb? Or just a max record size? Is there a tool to create a .pdb file from
> a large binary file? I'm just starting to look into using PAR.
>
> Is there source code I should look at? Are there any big lists of open
> source/sample Palm C/C++ code?
>
> A lot of questions, I know... Any help would be appreciated. I will gladly
> share my findings with the list.
My ZBoxZ was originally designed to do precisely this. Opensource
under GPL. http://palmboxer.sourceforge.net is the homepage.
It uses the FileStream API, a conduit (actually several, for each
platform), and lots of other things, specifically
compression/decompression. And media (PNG GIF MIDI FAX - in
zbz024c.zip).
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/