BlueStacks is a great application for Windows and Mac which brings most of your Android apps to your computer. But often, in-app activity requires access to external files, photos and videos. BlueStacks emulates the Android OS within its own environment. What if you wanted to use an app in BlueStacks to edit a photograph on your computer? This article describes different ways of accessing files from Windows to BlueStacks and also the other way round.
Access computer files in BlueStacks and Vice Versa
There are quite a few ways in which you can access your computer files on BlueStacks.
You can easily share files between BlueStacks and Windows using shared folders. Just place your file inside it and you can access it from both Windows and BlueStacks.
The default shared folder in Windows is located in C:\ ProgramData\ BlueStacks\ UserData\ SharedFolder (assuming C:\ is your Windows installation drive). In BlueStacks, the same folder is located in (Root)/ sdcard/ bstfolder/ BstSharedFolder.
Additionally, the default Windows Library folders are accessible from BlueStacks. They are located in /sdcard/bstfolder/ as Pictures, Documents, etc.
A file manager app is required to navigate folders inside BlueStacks. In this article, we’ll use OI File Manager. To share a file, follow the steps below:
- Download and install OI File Manager in BlueStacks.
- On Windows, navigate to BlueStacks Shared Folder [C:\ ProgramData\ BlueStacks\ UserData\ SharedFolder] and place the files you want to use in BlueStacks (like photos, videos, downloaded APK files, etc.). You can also use the Windows Library Folders for this purpose.
- In BlueStacks, launch OI File Manager and navigate to BlueStacks shared folder [(Root)/ sdcard/ bstfolder/ BstSharedFolder]. If you have placed files in your Windows Library, locate the respective folder from bstfolder directory in BlueStacks.
Similarly if you want to access BlueStacks files from your computer, copy the particular file to BstSharedFolder using OI File Manager and the same file will be available in Windows SharedFolder location.
If you are unable to find bstfolder in its default Windows location [C:\ ProgramData\ BlueStacks\ UserData\ SharedFolder], you can find their actual location from the Windows Registry.
- Access the Windows Registry by going to Start >> Run and type in “regedit” and hit Enter. This opens up the Registry Editor.
- Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ BlueStacks \ Guests \ Android \ SharedFolder. Each of the numeric folders represents a shared folder, and their location is indicated in their Path String values.
Using Drag and Drop
There is a simpler way to copy files from Windows into BlueStacks Shared Folder (Windows -> BlueStacks file sharing only). Here is how;
- Run BlueStacks App Player and let it initialize.
- When BlueStacks is fully ready and running, just drag the particular file from its Windows folder into the BlueStacks interface.
- If you have already installed an app which works with this type of files, BlueStacks can prompt you to open it suitable app. You can ignore this prompt and click anywhere outside the message box to dismiss it. However, this prompt only appears from the BlueStacks Home Screen.
Though BlueStacks does not indicate any file transfer operation, the file will actually be copied to the BlueStacks Shared Folder on Windows. You can then navigate to the same folder using OI File Manager in BlueStacks.
Using Cloud Sync
Cloud storage apps like DropBox and Google Drive help you to sync your data across all your devices. For accessing Windows files in BlueStacks, simply drop the files in your DropBox or Google Drive folder and access them in BlueStacks with the respective Android app. You can similarly do it the other way round too. Just copy files into the DropBox / Google Drive app and they will automatically appear in your Windows folder for DropBox / Google Drive. You can also get the same thing done with other third party cloud sync apps and services.
The cloud sync method also works for sharing files between BlueStacks and Mac. Similarly, you can also share files among BlueStacks and other devices like iPhone, Android, etc.
Using Windows Registry
Caution: The following section involves in editing values in the Windows Registry. The Windows Registry contains values and keys that are critical to the Operating System. Modify the Windows Registry very carefully as any undesired modification may cause your system to malfunction.
- Decide on which directory to give access in BlueStacks. You can either choose an entire hard drive, or a particular folder of your choice.
- Access the Windows Registry by going to Start >> Run and type in “regedit” and hit Enter. This opens up the Registry Editor.
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\FileSystem. Inside this folder you’ll find some predefined numeric keys and values (starting with “0“). Create a new key here by right-clicking on FileSystem and select New >> Key and rename it by the number following the previous key. Update: The newer versions of BlueStacks depends on a different Registry Key. For the newer version, go to HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\ SharedFolder. Create a new key here and rename it to the number following the previous key.
- Inside the newly created key, right-click on the space on the right side and create a new String called “Name” by selecting New >> String. Double-click on it and enter a value. The value is the name of the folder as seen inside BlueStacks. Update: In the newer versions, additionally create a new DWORD Value by right-clicking on the blank space and selecting New >> DWORD (32 Bit) Value and rename it as Writable. Right-click on this newly created value and click Modify. Set the Value data field as 1 and select the base as Hexadecimal.
- Create another String called “Path” and assign a value of the full path of the directory you want to include inside BlueStacks. For example, if you want to access the Downloads folder of D drive inside BlueStacks, set the path value as “D:\Downloads” (without quotes, of course). You can include as many directories as you like by creating new keys for each of the folders. Keep the keys sequential in number.
- Restart your computer for the changes to take effect.
Now you will be able to access BlueStacks files from Windows.
This comment has been removed by a blog administrator.
ReplyDeleteDo you have a spam issue on this blog; I also am a blogger, and I
ReplyDeletewas curious about your situation; we have developed some nice
procedures and we are looking to trade methods with
other folks, why not shoot me an e-mail if interested.
We are a group of volunteers and opening a new scheme in our community.
ReplyDeleteYour site provided us with valuable info to work on. You've done a formidable job and our entire community will be thankful to you.
Attractive section of content. I just stumbled upon your
ReplyDeletewebsite and in accession capital to assert that I acquire in fact enjoyed account your blog posts.
Any way I will be subscribing to your feeds and even I achievement you access
consistently rapidly.
I loved as much as you'll receive carried out rigght here.
ReplyDeleteThee sketch is tasteful, your authored subject matter stylish.
nonetheless, you command get got an edginess over that you wish be delivering the
following. unwell unquestiknably come further formerly again since exactly the same nearly very often inside case you shielld this
increase.
I know this if off topic but I'm looking into starting my own weblog and was wondering what all is needed to get setup? I'm assuming having a blog like yours would cost a pretty penny? I'm not very web savvy so I'm not 100% sure. Any suggestions or advice would be greatly appreciated. Appreciate it
ReplyDeleteHi there friends, its impressive paragraph about teachingand entirely explained, keep it up all the time.
ReplyDeleteI truly love your website.. Pleasant colors & theme. Did you create this web site yourself? Please reply back as I'm hoping to create my very own site and would love to know where you got this from or exactly what the theme is named. Many thanks!
ReplyDeleteMy spouse and I stumbled over here different web address and thought I might as well check things out. I like what I see so now i'm following you. Look forward to looking into your web page yet again.
ReplyDeleteHowdy would you mind letting me know which webhost you're working with? I've loaded your blog in 3 different browsers and I must say this blog loads a lot faster then most. Can you recommend a good web hosting provider at a honest price? Thanks, I appreciate it!
ReplyDeleteEverything is very open with a very clear explanation of the issues. It was really informative. Your site is extremely helpful. Many thanks for sharing!
ReplyDelete112159 67229I like this blog so a lot, saved to bookmarks . 368365
ReplyDelete