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')
Asked
Active
Viewed 4,038 times
0

user436862
- 867
- 2
- 15
- 32
-
I think the path should look like: Computer\GT-i9505\Phone – Odrai Aug 18 '13 at 08:35
-
Oh I see what the problem is, I will create a test application. – Odrai Aug 18 '13 at 08:46
-
I didn't succeed access the folder by the path 'Computer\GT-i9505\Phone' – user436862 Aug 18 '13 at 08:55
-
Maybe useful http://stackoverflow.com/questions/12053720/cannot-detect-sony-xperia-in-eclipse – Kiquenet Apr 22 '14 at 21:39
-
possible duplicate of [Read/write to a Samsung android phone/tablet from a C# windows app](http://stackoverflow.com/questions/17555911/read-write-to-a-samsung-android-phone-tablet-from-a-c-sharp-windows-app) – Kiquenet Apr 22 '14 at 21:56
1 Answers
0
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\........

Odrai
- 2,163
- 2
- 31
- 62