Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [android-sdcard]

SD Card is a Secure Digital Card available with Android which acts as the External Storage Directory.

android-sdcard
0 votes
0 answers
14 views

How to get sd card CID in Dart/Flutter?

I'm trying to bind the execution of my app(Flutter for android) to the sd card used to distribute it. So I need to get the CID of the card, can it be done in Dart?
user18107302's user avatar
0 votes
0 answers
47 views

How to write a ByteArray to an Excel file and saving it in external storage?

I want to write ByteArray data which is coming from Retrofit API (ResponseBody as return type from API) into Excel file and store into external memory of android SD Card. try { var path = mContext?...
Ajay gadadasu's user avatar
0 votes
1 answer
222 views

How to show the list of all file names in the SD card directory of Android device?

In my Android native Java project, I have a class, where I wanted to show the log for all the SD card directories and file names inside those folders. My Android OS version: Android 14 (API level 34) ...
S. M. Asif's user avatar
  • 3,617
0 votes
1 answer
463 views

How to access external storage(sdcard/usb) in an android device in a qt qml based application?

I am creating a video player application targeting android 13(API 33). I am using Qt Creator 9.0.1 and qt version is 6.4.0. With the Video component in qml, playing videos from internal storage is ...
Elakiya's user avatar
1 vote
1 answer
464 views

Sharing a file between an Android app (with native component) and system services

Android has been more restrictive with files, while it is very clear how to share files across apps... How would I share a file between a system service like surfaceflinger/audioflinger and an app? ...
John Smith's user avatar
0 votes
0 answers
303 views

Create a fake external sdcard storage space on android phone with no sd card slots

I was wondering if it would be possible to mount an extra custom partition as an external sdcard on an android phone. I already know how to create extra partition on my phone's storage using parted (...
Jbrimbelibap's user avatar
0 votes
0 answers
76 views

ESP32 Crash when I add 1 at a variable which has no link with the crash line

I'm doing a pixelstip with esp32 Display TTGO. I did one which work perfectly with 144 leds. Today, I'm doing the same thing with 644 leds. I used the same code and just modify the NUMPIXELS (Global) ...
Trax_d's user avatar
  • 1
0 votes
0 answers
55 views

Trying to import file from SD card in xamarin

New to Xamarin and Android, currently working my way through a program that needs to be updated to import a file from an SD Card. See below block of code. string path = Android.OS.Environment....
Mr.E's user avatar
  • 19
0 votes
0 answers
50 views

Error saving images to the external storage (sdcard)

I'm trying to compress and store some photos in the external memory of an Android device using this method: private String saveToExternalStorage(Bitmap bitmapImage, String nameImage, int compression) {...
user avatar
0 votes
1 answer
246 views

Is it possible to remove Android Gallery access to the SD Card?

I want to remove the Gallery access to the images stored in the SD Card in order they don't appear visible showup. I look in the Gallery settings, but didn't fine anything. Note: there are a lot of ...
Camps's user avatar
  • 121
0 votes
1 answer
6k views

Android: allow browser to read file:///sdcard

On Android versions higher than v4.4 (since storage framework was introduced) opening the local memory filesystem in a web browser via file:///sdcard does not show all the files and folders. For ...
ccpizza's user avatar
  • 30.8k
0 votes
0 answers
406 views

How do I get the path to the usb flash drive or access it?

During the development of the application, we encountered a problem. We connect a USB flash drive to the device via OTG cable. We request access rights from the user, but in the end we get nothing. As ...
Yui_iuY's user avatar
0 votes
0 answers
63 views

How to handle existing external storage files on app upgrade in Android?

An android app is getting updated after a long time. It was using external storage permission (READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE) to save the user selected files and images in a directory ...
BlackCursor's user avatar
  • 1,492
0 votes
0 answers
1k views

Can not create any file on removable microSD card on android

I'm developing an app that can download some media files to the user selected folder (User selects folder using the SAF), targeting android 11+. It can download and create files on primary external ...
RomaFUN's user avatar
  • 59
0 votes
0 answers
170 views

Why do I sometimes get System.IO.IOException: The file '/sdcard' already exists on Xamarin.Android?

In our production app we rarely get this exception which causes our app to crash: System.IO.IOException: The file '/sdcard' already exists The app is a Xamarin.Forms app written in C# and runs on ...
kaolick's user avatar
  • 4,847

15 30 50 per page
1
2 3 4 5
100