> Hi all,
> Any info regarding how to beam a file from expansion card
> would be greatly
> appreciated.
> (including links to any doc on the subject, etc...)
For the general process for beaming, check out:
http://oasis.palm.com/dev/kb/present/1108.cfm
Also http://oasis.palm.com/dev/kb/samples/1411.cfm shows how to beam a
normal Palm DB and should be helpful with understanding the steps required.
The big difference is you want to send a file, not a Palm DB.
Basically,
0. Find and open a file using the Virtual File System (VFS) calls
1. Create an ExgSocket structure
2. Start the data send with ExgPut
3. Send the file data by doing the following:
3.1. Call VFSFileRead to read data from the file into a buffer
3.2. Call ExgSend to send the data in the buffer
3.3. If you aren't at the end of the file, goto 3.1
4. Disconnect with ExgDisconnect
Cheers,
-DGA
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/