Questions tagged [sd-card]

SD-card (Secure Digital) is a non-volatile memory card, often used in digital cameras as well as in mobile devices.

SD-card (Secure Digital) is a non-volatile memory card, often used in digital cameras as well as in mobile devices.

More information at http://en.wikipedia.org/wiki/Secure_Digital

1441 questions
15
votes
2 answers

How to check permission is granted for a directory path and won't thorow EACCES error?

I have a photo editing android app that users can choose the output directory of the the result photos. Problem is Google made a change on sdcard write permission with the KITKAT version and devices with Android KITKAT version won't allow apps to…
14
votes
4 answers

Android - Storing images downloaded from the web

I had a question related to whether or not (and how) I should store images loaded from the web. Let's say I am calling a web service from my Android app. In this web service I get a URL for an image on the web. I download and show this image on…
Bara
  • 1,113
  • 6
  • 18
  • 28
13
votes
6 answers

How using SQLiteOpenHelper with database on sd-card?

According to various answers here and in the web extending Application and it's inherited method getDatabasePath() would allow to set the database storage path from the standard internal memory location to an inserted SD-card of bigger size. This is…
Harald Wilhelm
  • 6,656
  • 11
  • 67
  • 85
13
votes
6 answers

Scan Android SD card for new files

My app allows a user to save an image to their SD card. But I'm not sure how to make it appear in the gallery until you unmount and remount the SD card. I have googled for a couple of days with this problem but am not sure how to make it appear…
Brian
  • 819
  • 4
  • 20
  • 35
13
votes
2 answers

Android Mediaplayer: setDataSource issue for downloaded media file

I have an application that will record and play audio files. Some of the audio files are downloaded using simple standard http downloads using httpclient. It worked like a charm for a long time. Now all of a sudden I cannot play the files I…
Erik
  • 233
  • 1
  • 3
  • 14
13
votes
4 answers

WARNING: File.mkdir() is ignored

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 following code. File.mkdir() is ignored // Assign…
Srikar Reddy
  • 3,650
  • 4
  • 36
  • 58
13
votes
4 answers

Is there a limit for the number of files in a directory on an SD card?

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 supposed to clear up these files after a little use…
jamesh
  • 19,863
  • 14
  • 56
  • 96
12
votes
5 answers

Getting all the total and available space on Android

To my knowledge, on Android, there is: Internal memory for apps and cache Internal SD Card on some phones (not removable) External SD Card for music and photos (removable) How do I get the total and available for each with a check that they exist…
zsniperx
  • 2,732
  • 6
  • 25
  • 32
12
votes
5 answers

how to get the file names stored in sd card in android

i have a folder in sd card which contains several files. now i need to get the names of that files. can anybody have any idea how to get the file names stored in sd card? any help will be appreciative. thanks a lot.
sajjoo
  • 6,576
  • 20
  • 65
  • 86
12
votes
1 answer

How to install Raspbian to SD card on Mac

How can i install Raspbian OS to my SD card without installing any additional software or application on my Mac. Most of tutorials found on google will require to install SD Formatter or didn't provide detail steps.
Ryan
  • 3,085
  • 5
  • 27
  • 31
12
votes
1 answer

SD card write limit - data logging

I want track/register when my system (a Raspberry Pi) was shut down, usually due to abrupt power loss. I want to do it by recording a heartbeat every 10 minutes to an SD card - so every 10 mins it'd go to the SD and write the current time/date in a…
user3765743
  • 153
  • 1
  • 2
  • 6
12
votes
3 answers

Initializing SD card in SPI issues

I've had a look at Stack Overflow question Initialization of a microSD card using an SPI interface and didn't see any answers that matched my issue (that is, things I haven't already tried). I have a similar issue where I'm trying to access a SD…
Sembazuru
  • 451
  • 1
  • 3
  • 10
11
votes
3 answers

How to save file from website to sdcard

Does anyone know how to save a file from a webserver(local host) to the sdcard through wifi? I am doing xml parsing to my application and for that I have to download an xml file from localhost to the sdcard and then tag the parsing. I am stuck with…
RAAAAM
  • 3,378
  • 19
  • 59
  • 108
11
votes
4 answers

How to get an External storage sd card size (With Mounted SD card)?

Link :I worked on based on this Link I added this line to find the size (both Internal and External) size, return availableExternalMemorySize/(1024*1024); I tested in my Tablet. I am getting both Internal and External SD card size as, In Internal…
Achiever
  • 1,626
  • 10
  • 30
  • 54
11
votes
3 answers

Some Android devices treat Internal Storage as SD Cards and External Storage as EXTSD

I have a bunch of Android devices from different vendors. Some of them attach /mnt/sdcard to internal storage and /mnt/extsd to external storage(Scenario 1) and others attach /mnt/sdcard to external storage(Scenario 2) I think the second…
Vrashabh Irde
  • 14,129
  • 6
  • 51
  • 103
1 2
3
95 96