Accessing an external storage (USB, SD card) from the emulator

Search This thread

ConfusedStudent

New member
Jul 29, 2015
1
0
Hello!

Before I start, I'd like to apologize if I'm using this board a wrong way (if I'm maybe posting this thread in a wrong section or something, or if there already is a similar thread :confused: ), I'm new here, and as my username says, I'm quite confused... :eek: I'm a student in training for my first potential job, which involves programming Android applications, and I haven't learned very much so far, which is why I need a little help now...

My first task is to make an External Storage Media Player app. I'm working with Android Studio, and using Nexus 5 API 22 x86 emulator for testing the app. Now, what I need to know is, if I actually have a USB device plugged in the computer, how can I access its file system from this emulator? I mean, as it's plugged in the computer, not in the emulator, how can it be accessed? :D

Thank you in advance for helping me, and please don't laugh at me if I'm asking noob questions, I actually am pretty much of a beginner at this... :eek: :(