Welcome!

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

Java Development

Reply
New Developer
slicc
Posts: 37
Registered: ‎05-05-2009
My Device: Not Specified

Desktop USB C#

I notice there is a C++ sample available showing how to write a USBClient for the desktop (facilitating USB comms between the BlackBerry and desktop).  Does anyone know of an example using C#?

 

Thanks,

 

Slicc

Please use plain text.
New Developer
gerdijo
Posts: 4
Registered: ‎09-29-2009
My Device: Not Specified

Re: Desktop USB C#

I am also looking for a C# example.  Any help or suggestions would be greatly appreciated.
Please use plain text.
Developer
rcmaniac25
Posts: 1,805
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.634 Dev OS, Z30 (STA100-5)-10.3.1.634 Dev OS, Passport (SQW100-1)-10.3.0.1418, PlayBook (16GB)-2.1.0.1917

Re: Desktop USB C#

Try SharpUSBLib, it's a wrapper around libusb which is a general driver/library for USB on Windows and Linux. libusb did not work for me but I'm running Vista and I believe that the Windows version of libusb driver is for pre-Vista computers.
---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
New Developer
gerdijo
Posts: 4
Registered: ‎09-29-2009
My Device: Not Specified

Re: Desktop USB C#

rcmaniac25 I am playing around with SharpUSBLib right now.  I am having some problems getting it to recognize my blackberry.  Would you happen to have any sample code that you could post.  I would great appreciate any help.

Please use plain text.