BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 04-12-2008, 03:43 AM   #1 (permalink)
New Member
 
Join Date: Jun 2007
Model: 8800
PIN: N/A
Carrier: Vodafone
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Send datastore to a PC

Please Login to Remove!

Hi,

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.

Thanks,

Dan.
Offline  
Old 04-12-2008, 01:11 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can make your app backup all it's data to the Desktop by implementing a SyncItem.
Offline  
Old 04-12-2008, 10:29 PM   #3 (permalink)
New Member
 
Join Date: Jun 2007
Model: 8800
PIN: N/A
Carrier: Vodafone
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm looking more to just transfer one file, or just one datastore.
Offline  
Old 04-13-2008, 04:43 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

SyncItem can be used to backup a single datastore. For individual files why not just save them to the memory card and copy them via usb?
Offline  
Old 04-13-2008, 04:50 AM   #5 (permalink)
New Member
 
Join Date: Jun 2007
Model: 8800
PIN: N/A
Carrier: Vodafone
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

It might not have a memory card in it. You can copy files from the "C" drive of the BB via USB too can't you?

As for SyncItems. I can see how to perform a transaction, I'm just not sure where that data actually goes? Will desktop manager have to be open to receive the data? Where and how would be be stored on the PC side?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

AGILENT HP 6050A 1800 Watt Multiple Input Electronic Load Mainframe
$1500.0
AGILENT HP 6050A 1800 Watt Multiple Input Electronic Load Mainframe pictureNational Instruments SCXI-1001 12 Slot Chassis Mainframe with SCXI-1356 Adapter
$109.89
National Instruments SCXI-1001 12 Slot Chassis Mainframe with SCXI-1356 Adapter pictureHP E1401B 13 Slot Mainframe with Power Supply *Used, Power On Tested* VXI
$175.0
HP E1401B 13 Slot Mainframe with Power Supply *Used, Power On Tested* VXI pictureTektronix TM504 Power Mainframe Chassis, 4 Slot
$60.0
Tektronix TM504 Power Mainframe Chassis, 4 Slot pictureHP 83480A Digital Communications Analyzer Main Frame
$291.08
HP 83480A Digital Communications Analyzer Main Frame picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.