Forum Visual Studio

Where is /dat/data/MyApp directory on hard drive?

I am using a trial version of Xamarin, trying to port a Windows app to an Android project from within Visual Studio 2012. My app copies gifs from a server to my hard drive and then I want to open them from the hard drive. My question is where exactly is the /data/data/[MyApp] (insert your app name into MyApp) directory on my pc's hard drive? Like C:/data/data/MyApp.

I retrieve the info like this:
string appPath = Android.App.Application.Context.ApplicationInfo.DataDir;

I even created the directory, and I know it exists because subsequent calls to find the directory will find it, but I can't find the bloody directory with File Explorer. Did a file search in File Explorer and still no love. Created a file inside the folder and couldn't find the file.

This has to be a simple answer but I can't find it...

Best Answer


  • rmaciasrmacias USBeta, University ✭✭✭✭✭

    Yes, the answer is simple. That directory does not reside on your PCs hard drive. It resides on the internal storage of your Android Emulator or your Android device.

  • GregSchardtGregSchardt USMember

    My Android emulator is running on the same pc, so how does that work?

  • AmayindiLynnAmayindiLynn USMember ✭✭

    Hello am working on a project, but am finding it difficult to access files in my device file explorer

Sign In or Register to comment.