BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-30-2005, 12:20 AM   #1 (permalink)
New Member
 
Join Date: Mar 2005
Location: Shanghai,China
Model: 7520
Carrier: China Mobile
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Send any data to PC via cable?

Please Login to Remove!

Hello,everyone,
There is a question.
I want to send some data to my desktop machine(PC) via the cable.and I want to know if we can do it and implement this function.
In my opinion,the desktop manager software can sync the data with Blackberry.in other words,the desktop software can get the data from BB via cable,so I think we can write an application to send data from BB to desktop via cable.but I don't know how to do it.
So whehter it can do this or not?if yes,how to do?
Thanks for your attention.

Last edited by Confach : 05-30-2005 at 01:32 AM.
Offline  
Old 05-30-2005, 02:47 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2005
Location: MAH
Posts: 38
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Confach,

Yes, you can transfer the data from PC to RIM device & vice-a-versa. Just go through the sample application "syncdemo".
At device-side: syncdemo.
At desktop-side: Desktop.dsw with Desktop.dll.

In this approach, u r required to write a dll at the desktop side, which will have the data collection logic. This dll will be get called by the Intellisync application of Desktop Manager at the time you collect the RIM device. (You can see the dll entry in the "Add-in module Configuration" window, after pressing "Configure Add-ins..." in Intellisync). On the other hand, you are reuired to write the device side application similar to the "syncdemo", which will accept the data arrived from desktop.
Offline  
Old 05-30-2005, 08:26 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Aug 2004
Location: Metro NYC
Posts: 175
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Another approach is to send via USB. Your desktop app initiates a connection via USB and your device is listening for a USB connection. Your device then writes data to the USB port. Check out the "USBDemo" sample app.
__________________
-- Aric Rosenbaum
BlackBerry consulting, BlackBerry development
www.arconsultinginc.com
BlackBerry consulting and development (RIM SI Partner)
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





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