brunoklein99 / jmtp Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jmtp
License: GNU Lesser General Public License v3.0
Automatically exported from code.google.com/p/jmtp
License: GNU Lesser General Public License v3.0
What steps will reproduce the problem?
There is no way to transfer files from the device to the host
What is the expected output? What do you see instead?
Please add a method to transfer files to the host.
What version of the product are you using? On what operating system?
jmtp Beta2
Original issue reported on code.google.com by [email protected]
on 15 Apr 2013 at 12:56
Hello,
I wrote the following code that simply outputs the name of all portable devices:
package devicedatagetterxp;
import jmtp.PortableDevice;
import jmtp.PortableDeviceManager;
public class DeviceDataGetterXP {
public static void main(String[] args) {
PortableDevice portableDevice;
PortableDeviceManager portableDeviceManager = new PortableDeviceManager();
for (PortableDevice pd : portableDevices) {
System.out.println(pd.getFriendlyName());
}
}
}
Problem: it works well on Windows 7, but on Windows XP it does not work. No
name is printed in the console...
Question: Does even jmtp work in Windows XP? I think it should since the WPD
API is supposed to work in Windows XP...
Or is the way to access portable devices different in Windows XP? If that is
the case, how can I do it?
Original issue reported on code.google.com by [email protected]
on 8 Jan 2014 at 1:42
The conversion from the java date to the ole double is not correct. The
conversion in the opposite direction is correct.
Original issue reported on code.google.com by [email protected]
on 6 Jul 2008 at 1:12
What steps will reproduce the problem?
1. i have used addAudioObject to move files from computer to device
2. similarly i can create folder in device using createFolderObject
3. But how to tranfer files from portable media device to computer
What is the expected output? What do you see instead?
No Function found in PortableDeviceStorageObject interface to do this
What version of the product are you using? On what operating system?
latest version beta2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Oct 2012 at 7:54
Attachments:
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Aug 2013 at 8:50
Problem: Retrieving the orginal filename of an object without this property
returns garbage.
Solution: Null should be returned instead
Original issue reported on code.google.com by [email protected]
on 23 Mar 2008 at 9:49
What steps will reproduce the problem?
1. open a device
2. iterate to a file by PortableDeviceFolderObject.getChildObjects
3. read last modified date by getDateModified()
What is the expected output? What do you see instead?
result is Fri Jan 08 21:39:22 CST 3915
but it should be 1/8/2015 9:37 PM
year is not correct.
What version of the product are you using? On what operating system?
beta2,
window 7
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 13 Jan 2015 at 4:52
What steps will reproduce the problem?
1. change mtp device
2. refreshDeviceList
3. getDevices
bugs is at PortableDeviceManagerImplWin32.java.
a hashmap is changed while being iterated
Original issue reported on code.google.com by [email protected]
on 3 Jun 2015 at 2:14
Hi,
Can you please share a sample code where a file is copied from Computer to the
Device.
Original issue reported on code.google.com by [email protected]
on 22 Oct 2012 at 7:51
What steps will reproduce the problem?
1. Re-run the application
2. debug
3. Search through internet
What is the expected output? What do you see instead?
ct 27, 2014 10:48:09 PM GeotagDecoder.Decoder jButton3ActionPerformed
SEVERE: null
java.lang.RuntimeException: not supported os
at jmtp.PortableDeviceManager.<init>(PortableDeviceManager.java:37) at jmtp.PortableDeviceManager.<init>(PortableDeviceManager.java:37)
at jmtp.PortableDeviceManager.<init>(PortableDeviceManager.java:37)
at GeotagDecoder.Decoder.jButton3ActionPerformed(Decoder.java:297)
at GeotagDecoder.Decoder.access$200(Decoder.java:13)
at GeotagDecoder.Decoder$3.actionPerformed(Decoder.java:113)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2739)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:719)
at java.awt.EventQueue$4.run(EventQueue.java:717)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
BUILD SUCCESSFUL (total time: 1 minute 23 seconds
What version of the product are you using? On what operating system?
Netbeans 8.0 on mac OS X 10.9.4
Please provide any additional information below.
I am trying to make my application connect to my IPhone so i can browse through
it, as a device.
Original issue reported on code.google.com by [email protected]
on 27 Oct 2014 at 10:51
Hi, As Mentioned above i followed all the procedure to get the program work.
Now it works finely for me. But if i used the same by creating object of that
class and calling the methods in it as i per my need in my web container it is
unable to execute the PortableManager? class even.
Please Help me in the Situation. Your help is highly appreciated !!
Original issue reported on code.google.com by [email protected]
on 12 Sep 2013 at 12:25
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.