There is no external storage in "Device File Explorer" - android-studio

I created an AVD with Sdcard with 2GB capacity in android studio. I need to upload my files in Sdcard(Not Internal that is name Sdcard) but there is no Sdcard in "Device File Explorer", There is just only internal memory with name "Sdcard" . I tried to upload my files to internal storage and move them to sdcard in next step but none of those files doesnt show in gallery and this solution it's not worked for me, Even I tried "Media Provider" in "Dev Tools" but Dev Tools crashes after clicking on "Scan Sdcard" Button. My app needs to load files using "MediaStore" and if images & videos on Sdcard are exists they wiil not load in my app

I created another avd again and sdcard showed up.
But to load images & videos from sdcard in gallery, I have to eject & mount sdcard on changing sdcard content every time

Related

download one file from VHD link

I was using Azure VM and my subscription was disabled. there were some files that I was working on in the last few days without backup on my local device. now I got a link to the machine VHD but it's too big and my connection is very slow. Is there is any way to download only my files from that link without downloading the whole file?
my file is almost 1 MB and the image is 127 GB. I know that the best solution is to make another subscription but I only have a pre-paid card now any they don't accept that
If you have VM's backup you can perform a file level restore. If you have 'just a link' to VHD file unfortunately there is nothing you can do to download single file - sorry.

Where to find assets in the Device File Explorer of Android Studio?

I've created an asset folder and placed my GUI.png image in it (left image).
But i can't find the image in the Device File Explorer after the app is started in the AVD emulator.
Where was it placed?
Is it supposed to be in /data/data (right image) ?
Android allow us to use two parts of memeory:
1 as internal
and
1 as external (generally refered as SD card).
"Device File Explorer" is used to see the internal files (that too in debug mode).
Your "data" folder is part of source (code), it has nothing to be seen in internal storage folder of app in device.
You will see a file inside "data/data/" folder, if specifically you have written code to copy it there.

Azure Activity Log - Download file from Blog

In Visual Studio Server Explorer with the Azure SDK installed.
If you open a blob container, you get a list of files.
If you click one of the files a progress bar appears showing it is downloading.
I cannot find where this file has been download to.
It's downloaded to %TEMP%\CloudStorage\. If you want to save it somewhere else, you can right-click the file and Save As instead of double-clicking it.

Saving image file to isolated storage

I am creating a Windows Phone 8 application. I have an image which is currently on my computer disk. I want to store that image in my isolated storage. The problem i am facing is that, that how i will load the image in my application so that i will store the image data in my isolated storage.
The problem is that, the image is located on my computer disk and when i attach the device and run the application it will try to find the file in local sandbox and hence i will get the exception.
System.Io.DirectoryNotFound
Any help will be great.
If I understand you correctly, you want to upload files from your computer to the isolated storage of your app?
I haven't tried it myself but you might want to take a look at Windows Phone Power Tools. According to their own site they let you "Upload / Download Files from IsolatedStorage".
Another option might be ISE (Isolated Storage Explorer).
If you want to access your files on your computer at runtime, I do not believe this is possible.

Turn a folder into a bundle/package for iTunes file sharing

iTunes File Sharing for iOS apps allows users to pull down folders from apps via syncing to the device but it doesn't allow the reverse and load in directories from a computer to the device. Is there a way to make a in-app folder a bundle/package like a .app package so that the OS thinks it is a file rather than a directory?
From what I can tell GarageBand for the iPad is doing exactly this for files off the device. The context menu on the exported file in the Finder allows you to "Show Package Contents".
I appended a made up extension to the directory path and it shows up in iTunes as a file, but on export it comes out as a directory.
The following worked for me:
Rename folder to <foldername>.pkg
Drag it into the file sharing panel
In the file sharing panel, rename it back to <foldername>
I just found! Windows users can use iExplorer!
Start iExplorer (available at this URL http://www.macroplant.com/iexplorer/)
Connect iOS device to PC using USB cable
Find this folder: "Apps" > [YOUR_APP] > "Documents"
Drag and Drop the bundle/package into "Documents" folder
Note: A bundle/package on Mac is simply a folder on Windows. There is no need to have any file extension like .pkg on Windows.

Resources