How to read the data in a device connected to the usb port

Is there a class or object, or the piece of code in Java that is comparable to the PDQComm32.ocx and the mscomm32.ocx used in VB6? I need to know how to read the data of a device plugged into the usb port of the BBerry. Is it possible to use the BB to read data from a device via a usb cable?

I'm new in Java and I'm looking for the opportunity to write a project to read the data in a device with this program that can turn on a BB instead of on a pc.

Thank you

Did you watch net.rim.device.api.system.USBPort?

That's what the doc says:

Provides access to the USB port of the device.

Avoid using this class in applications, as it is not portable. On the contrary, if you need to access the USB port, use factory CLDC Connector to serve a connection.

Rab

Tags: BlackBerry Developers

Similar Questions

  • How to disable the USB port and change DVD drive to read-only?

    I have upgraded my Vista Home Premium from window to window 7 Ultimatum. I tried to disable the USB port and and change the configuration of DVD room to read only via the bios, but I wasn't able to do. The bios always the same, whether it was when I had vista.

    I wonder if the operating system upgrade from Vista home premium to Windows 7 ultimate trigger necessarily upgrading the bios in order to take full advantage of the Windows 7?

    Thank you

    * original title - upgrade from Vista home premium to Windows 7 ultimate necessarily triggers upgrading the bios in order to take full advantage of window 7? *

    rThen your question isn't specific to Windows 7, you must consult the manufacturer. You should be able to disable the USB via the BIOS ports. Also, why do you want to set the optical drive as read only? If it is shared? If so, the advanced sharing disk properties, from there, you can set permissions on the drive. If you releasing It Easy: with Windows | ActiveWin | Laptops | Microsoft MVP

  • How to activate the USB Port on Satellite Pro 440 cdt?

    Hello
    I have the old satellite pro 440 cdt and my problem is the USB Port.

    How can I activate the USB Port?

    Thank you

    Hello

    Without any explanation and comments?

  • How to check the usb ports have enough voltage

    Hello
    I have a dell vostro 3500
    I think my usb ports does not receive enough voltage, because sometimes my usb ports does not work and there is no software problem I checked it
    How could I check that?
    I test my system with hwmonitor, but can not understand anything
    It comes to hwmonitor report on my system
    http://20-up.IR/images/l6ffkm1a9s8xsnbjht.PNG

    Thank you

    Hi Hossein,

    Thank you for your response.

    Check out the following link.

    Code 43: Windows has stopped this device because it has reported problems.

    http://TechNet.Microsoft.com/en-us/library/cc725873 (v = WS.10) .aspx

    I hope this helps.

  • HOW TO REPAIR THE USB PORT LEFT OF MY LAPTOP TOSHIBA THAT NO LONGER WORKS

    THE LEFT USB PORT DOESN'T WORK ANYMORE? WHAT TO DO

    Hello

    See this page to select your language:

    http://support.Microsoft.com/common/international.aspx

    ====================================

    Or sorry that it is area English.

    Left click at the bottom of the Microsoft Community page

    English and set your language.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to read the date and time of a file by labview information

    How to read the date and time of a file by labview information? for example, time created and updated time.

    The similar question had already spoken here (this is the old thread but still seems topical):

    http://forums.NI.com/T5/LabVIEW/file-date-created/TD-p/109836

  • How to read the two columns of data from the Port series

    Hello

    I'm reading two columns of data from the serial port.

    Example:

    52439 52430

    52440 52437

    52209 52214

    51065 51070

    52206 52390

    I use the serial of Visa service and I can read the first column of data from the serial port, but I can't understand how to read the second column.

    I want to both sets of chart data.

    I enclose my VI.

    Thank you for your help.

    The analysis of string function takes a "Format string" on top (with the right button of the function and choose Help, which explains all the entries).  In particular, you can say 'Give me two numbers separated by a tab' and the output will be two numbers (whole or floating, depending on the chosen format).  In particular, %d\t%d specifies a decimal integer, , whole decimal.

  • How to read the data of BLOB and save to the file system

    Hi friends.

    I have called DEMO table there image stored as a BLOB. now my requirement is to know how to read the data of BLOB and saved in the file system. is there a procedure
    to read the blob object and stored in the file system. pls suggest me with an example.
    Thank you

    HI - don't know what version you have, but have a read through this:

    http://www.Oracle-base.com/articles/9i/ExportBlob9i.php

    Hoek link is to import the blobs in the db, it is export, to a file.

  • Serial port buffer - how to read the last entry?

    Hello

    I'm trying to read data from a device connected to the serial port. The instrument makes a row of data, last updated CR LF at pre-set intervals (0.2 seconds, 0.5 sec., etc.). I want to read the most recent line to an interval of time different (for example 1 s). What happens is that the buffer fills, and when I read that I always get the whole buffer content, starting with the first (oldest) row of data.  After reading, I empty the buffer to prevent overflow.

    From the red string I, I serach occurrence of CRLF and take the data before the game. This will give me the first line of data (oldest), sometimes incomplete.

    What I want is the last line. There must be an easy way to achieve this?

    I can't use the Frother with my instrument.

    Any help appreciated

    Sylvester

    To give an idea, put something like this you diagram:

  • How to read the contents of the attachments to the record listener?

    Hi all

    We have a blackberry user interface application that implements FolderListener. The messagesAdded(FolderEvent e) public void in the record listener method is called whenever a new message arrives on the device.

    Now, there are some emails that will also spare.

    Can someone tell me how to read the contents of the attachment?

    I can read correctly the content of the body of the email.

    Our code to handle the arrival of e-mail for your reference is mentioned below.

    public class MyUIApplication extends UiApplication implements FolderListener
    {
        public void messagesAdded(FolderEvent e) {
            Message orginalMessage = e.getMessage();
    
            Folder messageFolder = orginalMessage.getFolder();
    
            if (e.getMessage().isInbound() == true) {
    
                String sender = orginalMessage.getFrom().toString();
                String subject = orginalMessage.getSubject();
                String body = orginalMessage.getBodyText();
    
                String attachmentContent = ""// Read atachment content here?
    
                // some more code
            }
        }
    }
    

    Any help in this regard will be appreciated.

    Thank you.

    There is no way to prevent a menu item to be added to an AttachmentHandler.  When a user clicks your menu item will be called the run method.

    If you have registered an AttachmentHandler for your type of attachment and the prefix the file name of the attachment with x-rimdevice, you would be able to access its contents of in a FolderListener.

  • How to read the files on time capsule

    How to read the files on time capsule from iPad?

    Thank you

    Using an application like navigation on the iPad. More info here:

    Stratospherix - FileBrowser - overview

  • How to read the status of User1 DIP-switch with a cRIO FPGA chassis?

    How to read the State of the DIP switches on a FPGA cRio chassis?

    I work with a cRIO 9022... My idea is to put the system in "service" mode with USER1 switch to IT and communicate with the FPGA via the FPGA - GUI (VI) on the host computer instead via the RT module that is used in normal conditions.

    Any ideas? Unfortunately, I don't have an unused channel on the left... .and (as I know) cannot use the interface RS232 of FPGA.

    Many thanks in advance,

    Luke

    Hi, this is the correct information. You cannot read the FPGA of DIP-switch status. The only thing you could do is to use the function of Reading Switch.vi located under the range of functions-> real-> utilities RT time

    It's how you probably know side host RT and not the FPGA.

    Cordially Virginia

  • How to read the value of list boxes by iteration in a loop For?

    I have a lot of list boxes on the front of my VI. I want to know how to read the value of this combo with a loop boxes For. The point is that I don't know how to get the reference of each combo box in a loop.

    Any information would be welcome. Thank you!

    su27 wrote:

    I have a lot of combo boxes on the front of my VI [...]

    Be sure to close the references that you have finished with them.

  • How to read the VI Analyzer config file?

    Hello

    How to read the analuzer vi configuration file? I'm getting a lot of errors on the size of the front panel and I don't know what should be the size you want. Where is the maximum expected size of the specified front panel?

    Kaspar says:

    Hello

    How to read the analuzer vi configuration file? I'm getting a lot of errors on the size of the front panel and I don't know what should be the size you want. Where is the maximum expected size of the specified front panel?

    If you have VI Analyzer installed, you can load the configuration file and look at the section select the Tests. There is a test for the maximum size of front under front-> User Interface. The default value is the resolution of the current monitor of the PC (including multiple monitors). You can change to the desired option.

  • How to read the host name or serial number cRIO locally

    I have not worked with cRIO and decided to ask for help.  (o).

    I don't know about the screws that allow to access this information from a connected Windows machine, however, I want to retrieve and display this information on remote panels.  But I cannot determine how to read the cRIO hostname or the serial number of the software running on the cRIO?

    Thanks for the help.

    James

    This could help.

Maybe you are looking for

  • Tecra A3: Can I install Intel graphics driver from the Intel website?

    I have a lappy A3. The display driver date of 2005, which is an Intel 915g obtained on the download from toshiba site. There has been several updates driver 915 from the Intel site but no update on the toshiba site.Can I use the Intel drivers file to

  • HP Pavilion a6519fh: processor Intel Core 2 duo E6700 cpu upgrade

    Hi, I have an a6519fh Pc which came with a Pentium dual core E2180, I want to know if a Conroe E6700 is compatible with this PC, as I read that some motherboards are not that mine is an IPIBL-LB (Benicia). Thanks for any advice or help :))

  • Extract data from graph XY

    Hello Here, I want to extract data from the XY graph. I joined vi which I use for table 1 d. How can I use this for 2D table VI. Thank you

  • Lifetimes of IPSec

    I have a client who needs to configure a vpn site-to site with Microsoft Azure. They currently have several configured site-to-site VPN, and according to MS, they have their own lives IPSec, which differs from all our other VPNs. I really don't want

  • Windows 8 and lexmark 7600 series compatipility

    I've upgraded to windows Vista 8. I use a Lexmark 7600 Series and then continue to get a message «Microsoft.NET Framework version 2.0» required I want to continue to use the productivity studio which came with this all-in-one printer, but go to the M