04-12-2008, 03:43 AM
Join Date: Jun 2007
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Send datastore to a PC
Please Login to Remove!
I've got a datastore that I want to be able to send to the PC via the USB connection. I was thinking of just connecting the USB and spitting out the data and reading it on a COM port on the PC, but then I thought of something better.
As far as I know, I can create a file and write to it with the FileOutputStream class. So if I just dump my datastore info in a file on the BB, can I then simply get that file off the BB?
I've been looking at how to access the raw files on a BB. I *think* I can just do it through Desktop Manager, as long as I have mass storage turned on. Is this correct? If not, are there any suggestions for sending the file to the PC via USB (can't use email, web, etc... assume no SIM card inserted).
I just thought I'd check if this was possible before wasting my time developing it this way. If I can't get the file to the PC, I'll have to go back to just spitting it out over a USB-COM port connection.