How to manage files on an MTP Portable Device?

2019-01-17 13:35发布

问题:

I have been researching this topic for days and I can't find anything on managing files on a MTP Portable Device (More specifically a Galaxy S4).

I want to be able to...

  • Copy files from the PC to the MTP Device
  • Copy files from the MTP Device to the PC
  • Delete files from the MTP Device

I really want to copy MP3 files but if there is a general way to copy over and file supported by MTP that would be awesome. I've looked into the Window Portable Device API but I couldn't find anywhere where there is sample code in C#.

Any blogs, sample code, and files would be very helpful. Thanks! :)

回答1:

Very nice tutorial for C# is on this link wpd-transferring-content Some inspiration can also be found in this project PodcastUtilities



标签: c# android mtp