Copy a file from PDA to PC via USB in java

*爱你&永不变心* 提交于 2019-12-11 01:53:29

问题


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?


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/4691140/copy-a-file-from-pda-to-pc-via-usb-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!