Programming the USB port with J2ME

Hi:
I searched for information on the Internet on this subject but found nothing good. I wonder if you can program the USB port on J2ME to write and read data.
If the answer is yes, someone has some simple example? I use NetBeans.
Thank you very much.
Frederick (Translated by Google)
Edited by: fede1976 on Jan 6, 2010 9:24 PM

Hi:
Thank you very much! I watched this document and apparently not very difficult.
My question now is more general: most current phones, regardless of the company that manufactures, allow reading and writing from the USB port from J2ME?
Thanks again.
Frederick (Translated by Google)

Similar Messages

  • HT1476 when i plug my phone into the usb port with the apple charger that came with my phone i get an error msg say charging not supported by this device.   But when i use a gigaware (radioshack brand) usb charger, no error msg.  Why?

    when i plug my phone into the usb port with the apple charger that came with my phone i get an error msg say charging not supported by this device.   But when i use a gigaware (radioshack brand) usb charger, no error msg.  Why?

    - Try restoring the iPod, first from backup and then try to factory settings/new iPod to rule out a software problem.
    - Look at the dock connector on the iPod. Look for abnormalities like bent or corroded contacts, foreign material and broken or cracked plastic.
    - Could you have damaged something when you took the iPod apart and replaced the Home button?

  • With the original ATV is there a way to use the usb port with external hard drive?

    Is there a way to use the usb with ATV1 and external hard drive?

    I have the same question and refuse to beleive that Apple would put the USB port there for a HD and not be able to use it for that purpose.

  • How do I set up starry night with MacBook pro on the USB port with a serial/USB adapter?

    How do I set up a MacBook Pro running Lion to interface with Starry Night software? My telescope is a Meade LX200GPS with a serial input. I have tried using a Radio Shack USB/Serial adapter which worked when I used a Windows 7 laptop but does not work with my MacBook Pro.

    Just started to research this on both this site and on Starry Night .I was hoping to find a driver for the Radio Shack USB Serial Adapter from Apple's site. Radio Shack only has the Windows driver that came with the adapter. Will let you know when I find the right driver. Stay tuned.

  • My ipad is locked up with the screen showing the usb port connecting to itunes.  I had not synched by ipad to my computer in a long time so yesterday it was downloading software upgrades for 5 hours.  then the screen was locked up.

    My ipad is locked up with the screen showing  a picture of the usb port with an arrow to itunes.

    Then connect your iPad to your computer and use iTunes to restore. 

  • I Need Use the USB port and CDROM from iManager

    Originally Posted by AndersG
    Crsven,
    > Now, I need access through of imanager the CD-ROM or the USB (Pen
    > Drive) and I don't see, I don't access, pls, how I can see they.
    Not sure what you want? What do you want to do with CD/USB in iMAnager?
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    Discover the new Novell forums at http://forums.novell.com
    Novell does not monitor these forums officially.
    Enhancement requests for all Novell products may be made at
    Enhancement Request
    Ok. I need install the license that I have in the Pen drive, but the iManager only see the unit's A, C and SYS. Not see the CD-ROM. I search with the file manager the USB port with by my pendrive or the CDrom and don't found. I don't have floppy for install and I think that no is necesary install a floppy (is obsolete).
    Thanks
    Saludos(Regards)
    Rafael Sarramera

    190.36.1.1 is probably the WAN address of your firewall which will then be NAT to your server
    So currently from outside your network, if you browse 190.36.1.1:8008 you would then reach your remote management screen.
    This is therefore not the correct IP address, you need the internal LAN address of the server to enter into your workstation NW Client box
    Splash
    >>> crsven<[email protected]> 08/03/2008 17:46 >>>
    AndersG;1484107 Wrote: > Crsven,
    > > Ok. Pls. Could you help me to config or where I can read that
    > > information. I treated of connect and I can't connect to server with
    > > IP.
    > >
    > Assuming a local workstation? Make sure you have an IP address bound> on
    > the server. I also assume that you have a Windows workstation with the
    > NW client installed. When you get the login window, leave tree blank,
    > enter the server ip in the server field and provide username and
    > password. If you get that to work, then we can take it from there.
    >
    > - Anders Gustafsson (Sysop)
    > The Aaland Islands (N60 E20)
    >
    > Discover the new Novell forums at http://forums.novell.com
    >
    > Novell does not monitor these forums officially.
    > Enhancement requests for all Novell products may be made at
    > 'Enhancement Request' (http://support.novell.com/enhancement)
    You assume good, but I leave Tree blank, the context blank and in fieldserver I use the address Ip 190.36.1.1, that is the ip addressconfigured for the conection with the remote manager of Novell(190.36.1.1:8008).
    I think that the config that I need is in the server.
    Thanks-- Saludos(Regards)
    Rafael Sarramera------------------------------------------------------------------------crsven's Profile: http://forums.novell.com/member.php?userid=7705View this thread: http://forums.novell.com/showthread.php?t=314402

  • Is it possible for an external device to burn out the USB port?

    I think the available current of the USB port is 500 mA. If a USB device can work with a current of 500mA ~ 600mA, is it possible for it to burn out the USB port with 600mA current (larger than the safe 500mA) when connected? Or the port can never provide a current larger than 500mA?
    Thank you.
    P.S. The USB device I worry about is a pair of USB warm slipper (to be worn on feet in cold winter). Its label reads "5V / 2.5W", which should be safe. But I once connected it and a mouse to a USB hub, then to a single MBP USB port, and the mouse stopped working in a few seconds, and came back normal only after I switched it to another port. Now the slipper is connected to a port by itself, but I am just afraid that the USB slipper can go malfunctioning all of a sudden and drain a lot of current to burn the USB port.

    ...But I once connected it and a mouse to a USB hub, then to a single MBP USB port, and the mouse stopped working in a few seconds, and came back normal only after I switched it to another port....
    Likely the hub is only barely able to handle the 500mA requirement.  Many powered USB hubs have "cheap" power adapters and can't handle any high surge situations.  Many devices like heating elements and motors have "surge currents" where the initial powering on of the device has a much larger current flow than during normal usage.  Think of it like riding a bicycle.  You have to push hard on the pedals to start off, but it's easier to pedal after the bike is moving.
    ...Now the slipper is connected to a port by itself...
    If you mean the device is plugged into the Mac's USB port, then you should know that all Macs for the past few years provide more than the 500mA minimum for USB.  Some other computers also provide higher power.  But most USB hubs I've seen were limited to 500mA.
    If you are plugged into the hub, not the Mac, then the power adapter for your hub may be barely adequate or possibly even defective.
    ...but I am just afraid that the USB slipper can go malfunctioning all of a sudden and drain a lot of current to burn the USB port.
    IMHO, I would stop using the heater with any computer USB port.  There is always the possibility that eventually something could short out in the heating element and cause a catestrophic surge through the USB port.  The electronics in computers are quite delicate and I'd be paranoid about the device damaging my computer.  (BTW, I have an electrical engineering background so I'm paranoid about power issues all the time anyway. )  Even if the heater is plugged into a hub, the surge current could damage the other devices plugged into the hub.  While not as catastrophic as a dead computer, I'd still be irked to have to replace my mouse, digital camera, printer, webcam, etc.
    Instead, I recommend plugging the heater into it's own "power adapter."  One of those that give a USB port to charge a cellphone or whatever.  Plug the power adapter into a power strip.  Place the power strip in the floor next to the slippers.  That way you can conviniently turn the strip on and off with your toes as you're putting on your slippers.

  • Can i communicate by the USB port, if my application is set up to communicate with the serial RS232 port???

    Hi to all labview users... Please help me with my deadly problem. Last Deadline is on monday next week!.
    I got a complete program now, written and tested OK. It communicates with a slave to control a motor. I've set up the program to communicate with the slave by the VISA RS232 Serial Port commuication.  and all works fine...
    Now the problem is.. that The communication should have been by the USB port instead. So what I have done now, is that i used a USB to RS232 converter.  So that the USB Plug is plugged to the PC, and the RS232 end to my SLAVE,
    When I send a command to my SLAVE,  the SLAVE seems to understand it and it executes the command. But I must read some data at the port after sending my command to the SLAVE, coz, this command ask the SLAVE to start streaming data to me.
    All communication to me from the Slave  crashes so that i get ( sometimes if I get data ) wrong unknown data i cant understand.
    So the big question is: Can i use USB communication although my Application is set up with serial communication if I use a USB to RS232 converter???  ( the Driver for the USB - SERIAL conv. is installed well.)
    Baudrate :115200.. parity : none,  Data bits: 8, stop bit : 1.
    Please help me.....
    Hassan Zamzam
    Pictures attached
    HFZ
    Attachments:
    Connection diagramJPG.JPG ‏33 KB
    Serial ReadJPG.JPG ‏107 KB
    Serial ConfigJPG.JPG ‏104 KB

    Hi ZamZam,
    Thanks for your detalied description of the problem. However I think the problem is how your USB-RS232 converter is converting the incoming serial command to the USB port. All Labview can see is a "normal" serial port. Do you have some information on the converter? You might also want to contact them to see if they are aware of this issue.
    Thanks! 
    Dennis Morini
    Field Sales Engineer
    National Instruments Denmark
    http://www.ni.com/ask

  • How do i configure the usb port on a draytek vigor 2820n router for use with my imac

    i have an imac connected to the internet through a draytek vigor 2820n router. this router has a USB port with a HP Deskjet 5560 printer attached (for use as a network printer for other machines on the network). How do I configure this printer on the iMAC?

    I checked on the HP web site. Your aswer is on the HP website under your printer type. Update your drivers and follow the instructions given by HP and the printer will work as you have it connected.
    Good Luck

  • HT1338 Does anyone have a fix for the error message "Because a USB device was drawing too much power from your computer one or more of your USB devices have been disabled" - this is a brand new machine with nothing connected to the USB ports - i've done u

    Hi
    does anyone know how to fix the message on my iMac:
    "Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled."
    This is a brand new machine and did not have anything attached to the USB ports"
    Thanks for any help

    If you are getting that message on a brand new Mac with nothing connected to the USB ports, take it back. It is broken.

  • Ipod 4 is displaying blue frozen screen and black screen with apple logo. I try to turn power off but as soon as it goes out it automatically reboots. Plugged it into the usb port on my mac and it doesnt do anything. It doesnt appear in Itunes. Help?

    ipod 4 is displaying blue frozen screen and black screen with apple logo. I try to turn power off but as soon as it goes out it automatically reboots. Plugged it into the usb port on my mac and it doesnt do anything. It doesnt appear in Itunes. Help?

    Let the battery fully darain. After charging for an least an hour try a reset and restore. Use Recovery mode if necessary.
    If not successful, then time for an appointment at the Genius Bar of an Apple store.

  • HT2188 i just upgraded my iphone 3gs to ios 6 not sure if it updated but now when i turn on my phone it says automatically that i need to connect it to itunes using the USB port but when i connect it it comes up as new hardware and cannot find a program/s

    i just upgraded my iphone 3gs to ios 6 not sure if it updated but now when i turn on my phone it says automatically that i need to connect it to itunes using the USB port but when i connect it it comes up as new hardware and cannot find a program/software for my device even though i have the latest itunes on my computer. i have tried reinstalling itunes but it still cannot find my phone and now i cannot use my phone as it is stuck on the sync to itunes screen

    Have you downloaded and installed the latest version of iTunes from here:
    http://www.apple.com/itunes/download/

  • I have an optical mouse that came with my Mac Pro plugged into the USB port on the keyboard. After a year of working normally, the trackball all of a sudden stopped scrolling down. It scrolls up just fine, but not down. Any thoughts?

    I have an optical mouse that came with my Mac Pro, the only thing plugged into the USB port on the keyboard. After a year of working normally, the trackball all of a sudden stopped scrolling down. It scrolls up just fine, but not down. Any thoughts?

    Well
    I tried all of the suggestions, sort of. I did not have alcohol wipes, but I did take alcohol and pour some ona white paper towel and then rolled the mouse touch ball aroound and that finally cleared up the problem.  Just inverting it on paper did not do the reick, it needed some help with the alcohol.  Of course the probelm is the debris that gets inside and it really needs to come out.
    This is a huge problem for RIM devices users too.

  • Can't use my HP Deskjet F4580 Wireless Printer with the AirPort Extreme Base. The printer is NOT connected at the USB port of the AirPort Extreme, and is placed in another room. It worked just fine with my previous router (Linksys WRT54G). Help me!

    Hey Guys!
    I just got my AirPort Extreme Base, but I can't use my HP Deskjet F4580 wireless printer with it.
    The printer is not connected to the AirPort Extreme's USB port. It is placed in another room, and I'd like to use it (the printer) wirelessly (not connected to the USB port os the AirPort Extreme), as I used to. There is no place for the printer close the AirPort Extreme. It worked just fine with my previous wireless router (Linksys WRT54G). I'm very disappointed with the AirPort Extreme Base Station because of that!...
    Can you help me? Please?!
    Thanks Folks!

    This must be a tough one, no suggestions at all.

  • HT2421 If I attach a hard drive to the USB port, can I access it from the wired network, while simultaneously creating a separate wifi network with NO access to the hard drive?

    I already have a wireless network (call it Network A) with connectivity to various wired and wireless devices.  I have a USB hard drive that I directly attach to my MacBook Air.  I use it for Time Machine backups and general storage.  I would like to move this drive to an AirPort Extreme.  I would like to continue to be able to reach it via Network A, but also use the AirPort to create a guest Network (Network B).  I don't want the guest network to access the hard drive.
    Now, I know I can plug a hub into the USB port and put (I hear up to 3) hard drives on it.  Can I determine which ones are accessable by Network A, and by Network B? 
    Bonzo...

    Several things to consider.
    You cannot create a wireless network for guests if the AE is bridged. It has to be the main router in the network.
    You cannot use the existing TM backups on the USB drive.. if you plug into a network it will need to be wiped.. and only AC model can produce reliable TM backups.. the earlier models are not reliable for TM backups.
    See http://pondini.org/TM/Airport.html
    These two factors alone may be enough to make you reconsider.
    If you can create a guest network.. and you can overcome the limitations of airdisks.. then any person on the guest network should not be able to access the disk drive.. but if you wish to go ahead Bob Timmons might be able to confirm it.. I stay away from USB drives on routers.. I do not and will not use a router as a NAS.. it is underpowered and simply unsuitable long term.. a cheap single disk NAS is many times faster.. more reliable.. and has a marvellous thing called backup.. no USB disk or even internal disk in a TC can back itself up. .nor can TM backup network drives.. so any data you store on a USB drive is going to be gone one day.. unless you go to great lengths to back it up .. to where.. another USB drive plugged into another router somewhere.. the definition of slow.. should be copying files between two usb drives in an apple network using wireless. You will experience new levels of pain and suffering.. likened to the belly of the Sarlacc.

Maybe you are looking for