sd-card Questions
25
Solved
Is there a universal way to find the location of an external SD card?
Please, do not be confused with External Storage.
Environment.getExternalStorageState() returns the path to the internal SD mou...
5
Solved
I want to get the list of all Storage Devices which are connected to the Android device.
For eg- Internal Storage(Storage in which all the folders such as Downloads, DCIM etc are present), SD Car...
Neb asked 23/1, 2018 at 9:28
5
i know how to get free capacity on internal memory and on external storage.
But i want to know max capacity of internal memory and max capacity of external storage, but i can't find any info about...
3
Solved
I'm wondering how to save an image to user's sdcard through a button click.
Could some one show me how to do it. The Image is in .png format and it is stored in the drawable directory. I want to p...
Paction asked 11/5, 2012 at 20:16
5
Solved
I uploaded an apk file to a web server and attempted to access the link from the browser on the phone. When I attempt to download from that link I receive an error message that reads "An SD card is...
Brozak asked 16/11, 2010 at 20:47
11
Is it possible to easily get the size of a folder on the SD card? I use a folder for caching of images, and would like to present the total size of all cached images. Is there a way to this other t...
1
Solved
On Raspberry pi, I can read the serial number of SD card mounted on the built-in SD card drive from cid file under /sys/block/mmcblk0/device folder.
pi@raspberrypi:~ $ ls /sys/block/mmcblk0/device...
Jocular asked 11/6, 2020 at 0:1
4
Solved
How can i use Environment.getExternalStorageDirectory() to read a a stored image from the SD card or is there a better way to do it?
6
Solved
I'm just having trouble with getting my emulator SD card work...
I created a new AVD device with a new SD card.
So how to put data onto it? I found the "correct" file to be mounted on Daemon tools...
3
I am running beaglebone black on ubuntu installed on sd card. i am learning to program the device in trial and error method by installing various packages (just like CERN guys study sub atomic part...
12
6
Solved
I'm using a microSD card in an embedded design. The card is connected to a microcontroller using the SPI interface. It worked fine for all cards I've used before, but now my new card will not initi...
4
Solved
I have a project written for Android devices. It generates a large number of files, each day. These are all text files and images. The app uses a database to reference these files.
The app is supp...
Flunky asked 16/4, 2010 at 9:35
5
N.B.: This question about the serial number of the physical SD card, not the UUID of the mounted volume. These are two independent pieces of data.
In some versions of Android, and other variants o...
Archaeornis asked 19/4, 2017 at 1:4
11
Solved
I decode bitmaps from the SD card using BitmapFactory.decodeFile. Sometimes the bitmaps are bigger than what the application needs or that the heap allows, so I use BitmapFactory.Options.inSampleSi...
12
Solved
My app is working for mobiles which have an SD card only. So programmatically I want to check if the SD card is available or not and how to find the SD card free space. Is it possible?
If yes, how...
5
Solved
I'm using FileProvider for my internal files to be exposed to the Gallery for example. To make it more uniform, I also put my my external files into the provider (via external-path) but for the fil...
Creese asked 1/9, 2015 at 13:35
2
Solved
I am trying to create a database on my sd card. Whenever I call SQLiteDatabase.openOrCreateDatabase I get the error:
07-21 13:33:17.587: ERROR/AndroidRuntime(5541): Caused by:
android.database....
2
I want to save a file on a SD card folder.
And I can't use V4 support on my project.
So I call:
Intent itent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE);
itent.addFlags(Intent.FLAG_GRANT_READ...
4
Solved
I've created a basic Audio Recording App using Media Recorder API's. I'm trying to create a folder in the SD card and to save my recorded files to that folder. I'm getting this warning with followi...
Hophead asked 12/1, 2015 at 14:32
8
I want to open external storage directory path for saving file programatically.I tried but not getting sdcard path.
How can i do this?is there any solution for this??
private File path = new File(...
Footton asked 6/3, 2014 at 8:47
3
Solved
Android 6.0 Marshmallow’s introduces Adoptable Storage, a feature that allows use a SD Card as internal storage.
Is it possible to activate adoptable storage via ADB shell commands?
Hepner asked 27/6, 2016 at 0:50
6
I'm trying to read an image from my SD Card and I'm not sure if I'm doing it right or not. Need some help please
This is my code for reading it:
String imageInSD = "/sdcard/Hanud/" + c.getString(...
2
Background
Android had a lot of changes as to how to handle the SD-card and storage in general:
API 3 - you get all access, no permission needed
API 4-15 - you need to use WRITE_EXTERNAL_STORAGE...
Aboard asked 20/8, 2015 at 22:50
7
Solved
I have a problem with creating a folder and a file on the sdcard.
Here's the code:
File folder = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).toString(...
Culinarian asked 15/11, 2012 at 9:46
1 Next >
© 2022 - 2024 — McMap. All rights reserved.