Copy a file from PDA to PC via USB in java

2019-07-16 05:10发布

In my application I want to copy a file from PDA to PC via USB, using Java.

But I don't have any idea about how to do this and what API to use for that?

2条回答
虎瘦雄心在
2楼-- · 2019-07-16 05:51

You need to use RAPI in order to do this. In order to access the RAPI dll from Java you can either use JNI or a library like this NativeCall.

查看更多
Melony?
3楼-- · 2019-07-16 06:02

I have post describing how to do this in .NET, although it doesn't directly solve your problem it does demonstrate which methods to use in RAPI and how to use them.

http://christian-helle.blogspot.com/2007/06/copying-files-from-device-to-desktop.html

查看更多
登录 后发表回答