Ben's suggestion might be a better approach for you, I think. I don't
have any experience designing installations with the PalmSource
Installer myself, but I've installed other people's programs that used
it, and it went off without a hitch. It does support the sorts of
things you're looking to do.

I would point out this entry from the FAQ:

Q: Can I use PalmSource Installer to install media or MP3 files to a card?
A: Yes. These types of files are possible to install using the desktop
conduit. Define the files to be installed to the card and they will be
placed in the standard directory. Media or MP3 files are not supported
for over the air (OTA) install.

This would mean that a desktop-based installation of your program
would be required. I'm not sure if that'd be a problem for you or not.

Best of luck!
Brandon

On Wed, 26 Jan 2005 21:28:39 -0000, Paul Telco <[EMAIL PROTECTED]> wrote:
> Hello Brandon,
> 
> Thanks for your reply.
> 
> The Palm application that I'm distributing was made using Pendragon Forms, a
> high-level database design tool for the Palm platform. The Pendragon
> environment produces the .prc files for distribution and that is the only
> programming environment that I have (it's also the only Palm development
> that I am presently familiar with).
> 
> Since the jpg libraries have to be maintained on the SD card they are
> essentially outside of the Pendragon generated application. That's why I
> need a way to bundle jpg libraries for distribution and I was kind of hoping
> that I could use something similar to PRCexplorer or ParWin which are tiny
> in comparison to CodeWarrior as they are for a more specific purpose ie
> manipulating and viewing .prc files.
> 
> Hopefully some kind developer will know a way to do this but at the moment
> I'm copying the jpgs onto SD cards and sending them out with the CD with my
> application on it. It would be really nice to just ask the user to click on
> the 'jpg.prc' and have it dump all the jpgs on the SD card at the next
> Hotsync.
> 
> Many thanks again,
> 
> Paul
> 
> 
> ----- Original Message -----
> From: "Brandon Roberson" <[EMAIL PROTECTED]>
> To: "Palm Developer Forum" <[email protected]>
> Sent: Wednesday, January 26, 2005 5:58 PM
> Subject: Re: Can a .prc be used to install files onto an SD Card
> 
> > I'd write a little Palm app that creates a new file stream DB, reads
> > the images from the card, and writes them to the DB in a structured
> > way - ie, write out the null terminated file name string, followed by
> > a UInt32 that specifies the length of the file, followed by the file's
> > data, then go on to the next file.
> >
> > The file streaming system will automatically break things up into 64k
> > chunks for you as you create this database. when you're done, you've
> > got something you can give the end user to hotsync along with your
> > app.
> >
> > When your program runs, look for your JPEGs. If you can't find them,
> > look for the "archive" database you've created. If you can find that,
> > use it to recreate your JPEG files, then close it and delete it.
> >
> > If you're sure you'll never have a JPEG larger than 64k, you can skip
> > the file streaming API and just use normal database records if you
> > prefer.
> >
> > Note that the file streaming solution would require the database to be
> > in memory, whereas a normal DB could be accessed from the card itself
> > using VFSFileDBGetRecord(), slow as that might be.
> >
> > Good luck!
> >
> >
> >
> > On Wed, 26 Jan 2005 14:50:05 -0000, Paul Telco <[EMAIL PROTECTED]> 
> > wrote:
> >> I have an application which is installed onto Palm OS 5 devices using
> >> .prc files in the normal way.
> >>
> >> However at the moment I am having to supply an SD card containing a jpeg
> >> image library of about 200 images whenever I do a new installation.
> >>
> >> It would be a lot easier if I could bundle the 200 images up and just
> >> distribute the .prc with the rest of the software. ideally as a separate
> >> .prc for each customer.
> >>
> >> What do I need to do to make the images self install to an SD card? Do I
> >> really have to buy CodeWarrior? Its sems like too big a tool for this
> >> simple task.
> >>
> >> Many thanks in advance,
> >>
> >> Paul Telco
> >> --
> >> For information on using the Palm Developer Forums, or to unsubscribe,
> >> please see http://www.palmos.com/dev/support/forums/
> >>
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> > please see http://www.palmos.com/dev/support/forums/
> >
> 
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please 
> see http://www.palmos.com/dev/support/forums/
>

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

Reply via email to