> I'm throwing this out here because I'd like opinions.
>
> Here's the setup. I have a large file that contains binary data in a
> structure that I didn't create. As this is a port, I'd like to just use
> the file type as it is.
>
> So to do this, I used the emulator's host control functions to create a
> .pdb file stream of the file. This has a bunch of overhead, but the idea
> works fine. I can now access the .pdb file much like the original Windows
> app accesses a file.
>
> Now, of course I'd like to support VFS. The problem here is, I can't give
> people the .pdb file for their VFS card because I don't want to use it as
> a database. I just want to use it as a flat file.
>
> The problem is in distribution...
>
> I forsee a .zip file with:
> * appl.prc - Executable
> * appl.pdb - PDB version for non VFS users
> * appl.gam - Flatfile for VFS users
>
> How on earth am I going to get people to install the VFS version? Heck,
> not being very VFS familiar myself, how do I even make this happen? I know
> I can register the type, but that's a Palm call, right? So does that mean
> I'm stuck with a 2-part install or something? Ick...

  how about putting it in the .prc compressed and you extract into a
  .pdb or onto the VFS card upon installation; based on a user option?
  you can detect if VFS is present, and, ask - and, if it isn't,
  just create the file stream (dont need hostcontrol then)

  for what it is worth, using VFS direct and palm filestream databases
  renders little different in performance in regards to accessing the
  data stored within a file :) we did a number of tests, accessing
  a .mpg file on a sony clie for playback with both techniques.. maybe
  2-3% difference (faster in ram)

  how big is this .gam file? is it feasible to have an installer which
  generates it as appropriate?

---
Aaron Ardiri                               [EMAIL PROTECTED]
CEO - CTO                                                  +46 70 656 1143
Mobile Wizardry                             http://www.mobilewizardry.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to