Ofcourse the answer presented itself just after I sent the message
(anyone recognizing this? ;) )... The sync manager itself is responsible
for setting up the data streams. All I need to do is to use those
streams from within my own record implementation.
Piece of cake, works fine now...
Sorry for occupying anyones time.
/Drougge
Magnus Drougge wrote:
>
> Well, the short question is: how...
>
> I've got a small test application on the palm that stores a single line
> of text in a database. With a conduit based on the textcond sample I can
> get all the information about the record where this text is stored but I
> don't understand how I'm supposed to get the body itself.
>
> Is there a method available that let me fetch the whole body
> (unprocessed) from a record or do I have to do this myself?
> Something like 'byte[] getRecordBody()' would be nice! :)
>
> If not, then how is this done? I have no interest of having the body
> nicely parsed, just the whole chunk will be sufficient...
>
> In the palm.conduit api there's two methods named readData and
> writeData. Perhaps they are what I'm looking for but they need data
> streams to work with and I haven't been able to learn what those streams
> should be created upon (to let them be empty seems like a bad idea...).
>
> Thanks for your time!
>
> /Drougge
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/