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.
Best wishes,
- Brad
p.s. For those who want more info, the project is for accessing a pre-sorted
read-only database with several thousand 20 byte records, using the first
four bytes as a unique & sorted key. So with a binary search, I can access
the data item needed... Speed is not important (lookups are done one per
user request).. not using too much memory overhead is important (for
example, if the database is 1.5M, I don't want to request a full sized copy
of it.)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/