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 Contributor
Posts: 4
Registered: ‎03-06-2011
My Device: Not Specified

Output to .csv file?

Hey guys, this is a bit of a cross-post, but I was told to ask here as well, so here it is:


I'm a student working with a team on a research application on the Playbook that requires the researcher to obtain information from our application.  We have tried endlessly to export to a .txt file, but to no avail.


There seems to be no documentation or samples online, so would anyone have some helpful information?


We are using javascript with HTML5, and if possible, would like to output to a .csv file, which the researcher could easily pull the data from.


Any other suggestions are welcome as well, but exporting to an FTP server or anything like that is a last resort.


Is there any way I can do this without fully switching over from Javascript?

Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: Output to .csv file?

Hi there,


Have you had a chance to look at the file APIs provided by WebWorks?



If so, have you run into issues with those APIs? You should be able to create any sort of file that you like and write your data as required.


Let me know if you have any questions about these APIs.


Erik Oros

BlackBerry Development Advisor

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.