Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

New Developer
Posts: 53
Registered: ‎06-14-2010
My Device: Simulator
My Carrier: None

Serialize/de-serialize binaries

Giving this HTML5 functionality a real ride ... I can see why Google dumped Gears. But I digress.


The next phase of my little widget project is to bring down some binary files as attachments to messages. Typically these might be image files or text files.


The BB project is a port of an existing compact framework project; the attachments are currently going to the mobile from a web service method that returns a dataset. The dataset includes the message that the attachment is related to.


So, what's the best approach to doing this WITHOUT a dataset, while still maintaining the relation between the message and the attachment? As it stands now, the message is a JSON-formatted string. I'm really looking for a generalized approach with possibly pointers to some reference material.