I want to download a file using android to my SD card and then watch it from my Android emulator. I can upload the file to
/mnt/sdcard/myfile.jpg
I want to see this file from my Android emulator.
Or I can upload it to the download folder.
Please check this example to download and save the file: http://www.androidsnippets.com/download-an-http-file-to-sdcard-with-progress-notification . Once you have downloaded the file, you can see it in the DDMS perspective, in the file explorer view. There will be a folder "sdcard". Also, make sure you create the emulator's SD card size when creating the emulator.
From what I understand, you need a file browser on your emulator.
Here is found a random File Browser that I found (google search).
Download apk and install it using adb:
adb install MAndFileBrowser.apk
U can save the downloaded file to a specific folder, also creating a folder in external storage. And when the download is completed, you can display it (for example, if you upload the image u to the image)
Source: https://habr.com/ru/post/1388725/More articles:https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1388720/how-to-detect-the-visitors-ip-address-using-html&usg=ALkJrhi8bYDs_dXkcK6hVsPKKYjqkzDgfQScheme - define a list against a symbol - schemeCurrency format in php? - phpReplace the line between the opening and closing anchor tags with another line - regexDjango: how to display the results of a raw SQL query for modeling instances in the list of administrators? - djangoThe timer just works if MessageBox.Show () is called - c #Drawing and geometry manipulation options for Silverlight - c #Multi-tasking training - machine-learningIs it possible to embed or upload SWF files when creating applications for iphone (is Apple allowed) - actionscriptThe used space calculated by statvfs () for the file system is larger than the sum of the sizes of all files in fs - cAll Articles