问题
I connect my galaxy s4 to my computer in USB cable.
I can see drive "Galaxy S4" in "My computer"--> "Portable Devices".
My question is how can I access a file on the device from C# application?
(I can't find full path to file, for example to jpeg file in folder 'Galaxy S4\My Pictures\Picture.jpeg')
回答1:
Perform the following steps (on your Galaxy S4):
- Settings
- Developer Options
- Enable Developer Options
- Enable USB-debugging
With Developer Options enabled it is possible to access all the files.
Path of a file will look like:
C:\Users\UserName\AppData\Local\Microsoft\Windows\Temporary Internet Files\........
来源:https://stackoverflow.com/questions/18297207/access-file-on-my-android-phone-from-c-sharp