Is it possible to access my machine hard disk with android SDK?

Someone asked on Stack Overflow:

I’m trying to develop a server-client application for Android mobile devices. Here I need to test my client application with a server application which is dealing with the database. As I’m developing this application using the Eclips-ganymede SR2 with Android SDK plugins, I’m confusing how I can test my application with a server.

Is it possible to use my hard disk as the server? I mean will the Android emulator can access my hard disk?? Please give any idea related this

Thanks on Regards..

I posted the following answer, which was chosen as the accepted answer:

There is no way for the Android emulator to access your hard drive in the sense that you’re talking about. You may be able to mount a folder on your hard drive as an SD Card, but you would NOT want your app to use this, since it will go away once you deploy your app to the market. I recommend you build a web-service to run on your desktop (which will later be deployed to the Internet) and write your Android application to call this web-service.

Notable comments

Nate (0 upvotes): Depends on how you mean “access” — you should be able to access services on the host, IIRC the Android emulator is on the same LAN as your PC, so you should be able to access it by LAN IP. I may be wrong about that, can’t find where I read it.


Originally posted on Stack Overflow — 0 upvotes (accepted answer). Licensed under CC BY-SA.

signed letter b

Dad. Geek. Gamer. Software developer. Cloud user. Old Car enthusiast.  Blogger.


Top Posts


profile for Nate on Stack Exchange, a network of free, community-driven Q&A sites
a proud member of the blue team of 512KB club
Thoughts, opinions, and ideas shared here are my own. © 2026 Nate Bross.