Results 1 to 2 of 2
  1. #1
    Gr4Fi is offline Member
    Join Date
    Nov 2012
    Rep Power

    Default Accessing WPD via MTP (jmtp API)

    As the title says i want to access a Windows Portable Device.
    Access in this case means to check wether folders exist, create new folders and transfer files.

    As the WPD does not have a drive letter i am currently using the jmtp API
    ( to be found here jmtp - Java API to access MTP compatible portable media players - Google Project Hosting )

    I have got two questions concerning my project (a windows application, not mobile, not web):

    1. Am i bound to use an external API or is there anything JAVA internal i am missing?

    2. Does anyone experienced with the API know wether it is possible to access folders without creating them or checking wether folders with a certain name do already exist?

    thanks in advance

    p.s. I have further tried another API ( to be found here: jusbpmp - Java library for USB portable devices - Google Project Hosting ) but return values and practicability seemed rather odd to me. If anyone got suggestions, they are very welcome :).

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Rep Power

    Default Re: Accessing WPD via MTP (jmtp API)

    1. Yes, most likely.

    If you don't have OS level access to the device, then the JVM cannot see it either without something special (like access to the USB subsystem, or some other available protocol on the device).

Similar Threads

  1. Accessing TTY Device?
    By quazareth in forum New To Java
    Replies: 2
    Last Post: 04-22-2012, 09:55 AM
  2. Accessing DataOutputStream
    By captainpirate in forum Networking
    Replies: 6
    Last Post: 01-16-2012, 04:17 PM
  3. Accessing XML in a Jar
    By WizzRD in forum Advanced Java
    Replies: 19
    Last Post: 07-29-2010, 12:20 PM
  4. accessing variables
    By emp in forum New To Java
    Replies: 3
    Last Post: 04-23-2009, 04:36 AM
  5. Accessing USB
    By FieryProphet in forum Networking
    Replies: 3
    Last Post: 12-13-2008, 05:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts