06-13-2011 10:32 PM
I'd like to connect an external device with PlayBook through USB.
The USB's API was found in the Java Application Development of BlackBerry.
Please refer the following:
"Use USB or serial port connections" section)
However, the USB's function was no found in the API Reference of WebWorks and Adobe AIR.
Isn't this function being offered in Tablet OS?
I'll very appreciated if you could tell me the method how to use the PlayBook and USB.
06-13-2011 11:25 PM
06-14-2011 02:54 AM
Thank you for replying.
I could understood that USB "Host mode" is impossible.
Instead, if connect Playbook with PC as USB divice to
exchange data at original protocol.
Question 1: Could Playbook connected with PC as USB divice?
Question 2: Would you please tell me which functions (Adobe AIR or WebWorks) should be used to receive data which sent by PC?
06-14-2011 07:47 AM
06-14-2011 08:35 AM
The USB connection involves the PlayBook providing an NDIS interface of some kind, and acting rather like a DHCP server. It provides an address to the PC, which runs an NDIS driver that provides TCP/IP communication with the PlayBook over the USB port.
Once connected, you can simply use the regular socket APIs, or anything else that does TCP/IP, to communicate between the PC and PlayBook.
06-15-2011 04:09 AM
Thank you for your replying.
What I'm trying to do is to connect other device with Playbook using USB and then exchange data in a specified port.
Therefore, I'll be able to open an USB port at Playbook.
Well, so far I still couldn't find the best way to implement it.
I'll appreciate you if you could give me some suggestions.
06-15-2011 09:05 AM