Palm OS 5 SDK has Waves sample that shows how to play sound both from WAV
files and from resource. This example shows how to read data from WAV file
referenced by full path (i.e. "/Palm/Test.wav"). It reads data from the file
to a buffer using VFS (Virtual File System Manager API). The problem I am
facing right now is to transfer .WAV file from my PC to /Palm or any other
directory, if Palm has directories at all. The sample source file mentions
HostFS utility for simulator. I tried to install it on OS 5 simulator but it
does not appear anywhere so I cannot execute it.

Note, I am developing a demo for future Palm OS 5 devices.

----- Original Message -----
From: "Paul Gibson" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 26, 2002 3:32 PM
Subject: RE: Basic Palm questions


> I made the switch from PocketPC to Palm.  Lets just say that things are
very
> different.  If you used the SDK a lot on PocketPC then things are a little
> less different.  The basic controls are all there, and there is a cool one
> on palm called a table that provides a lot of fun (both in the sarcastic
> evil way and in the cool app functionality way).  I recommend the O'Rielly
> Palm Programming book (2nd edition now) as a starting reference because it
> gives some great examples and a pretty comprehensive look into all.
>
> The event loop is standard and pretty easy to figure out.  The file system
> is really different and took me a while to catch on.  Everything is a
> database or a record in a database.  Records are just chunks of memory,
and
> within a database the records can all have different formats, as long as
you
> have a way to know what record has what format.  So a file could be a
record
> in a database, or a group of records in a database.  The record size limit
> will dictate a lot of what you will do.  Database in the Palm world is not
> like an Access database, and there is no query language for filtering
> records, so you will have to do that kind of thing yourself.
>
> This forum and its archives are a GREAT source of information on how to do
> things, as is the conduit developer's forum for conduits.
>
> Have fun,
> Paul
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Alexander Galkin
> Sent: Friday, July 26, 2002 12:31 PM
> To: Palm Developer Forum
> Subject: Basic Palm questions
>
>
> I am very new to Palm, even as user never used it. However, I have
> very large and extensive experience in PocketPC and a lot of VC++
> development. Unfortunately, I need to create a demo on Palm that
> would play .wav files. I would be very thankful to anyone who could
> answer the following basic questions for me.
>
> 1. I have basic questions about files on Palm, Palm file system and
> transferring files from PC to Palm device. I didn't find any way in
> HotSync to transfer files from my PC. Does Palm OS have hierarchical
> file system? Is a file referenced by full path or somehow else? If a
> file can be transferred from PC to Palm device using HotSync is there
> any conversion involved?
>
> 2. I read there is some HTML support on Palm. Is it correct? I am
> interested in ability to embed this HTML support into form, generate
> dynamically HTML script and display it into the embedded HTML control
> in form (analog to WebBrowser ActiveX control on Windows). Is it
> possible to do that? If it is how to do this? Are there any examples
> with source code available that show how to do this.
>
> 3. Is there any built in support for a vertical slider control or to
> implement it I need to create a gadget and handle all paint and
> events myself.
>
> 4. Finally, I have question about CodeWarrior and Constructor for
> Palm (BTW, version 1.6 is the latest one?). I didn't find the way to
> locate bitmap files it creates. Or does it store all resources in
> custom format. I need our graphics artist to prepare a graphics on
> our computer and send me bitmaps. I would then need to import those
> bitmaps into my Constructor/CodeWarrior demo project.
>
> Thank you in advance.
>
>
>
>
>
> --
> 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