android-sdcard
Saving to device with no SD card
My friend and I are attempting to create an app that saves files to a device. We used this code to write to an external SD card, and it works great on his Droid X and Samsung Galaxy Tab.[详细]
2023-03-30 17:14 分类:问答mkdirs seems to not work on sdcard in onCreate of an Activity
I am using a method to create a directory structure using mkdirs in onCreate of an activity. Eventhough it returns true and all indiactions are that it should work, still the directories are not creat[详细]
2023-03-30 08:34 分类:问答Micro Sd card detection
Is there a way to detect a micro sd card in android? I know the Environment class gives external st开发者_JAVA技巧orage details. But it just gives the in built sd card details. Is there a way around?Y[详细]
2023-03-29 19:40 分类:问答Android: Invoke Gallery via intent and select an Image
using several codes available throughout the site, I built a small application that would invoke Gallery intent and when a image is selected the path is retured.[详细]
2023-03-27 05:38 分类:问答How can I access & store data in the sdcard across all Android devices?
The Samsung GalaxyShas a folder named external_sd inside sdcard. I want to access this. I don\'t want to hard code the path Environment.get开发者_如何学PythonExternalStorageDirectory() + \"external_sd[详细]
2023-03-24 05:56 分类:问答accessing files on SD card in android
I want to display image from a sd card into image view Following code works in emulator but does not work on actual phone[详细]
2023-03-24 04:37 分类:问答how to download video from server in android
i am doing app for downloading video from server and play the downloaded video from sdcard. I have a video file on a website in .MP4 format and video downloaded from server and should save in sdcard.[详细]
2023-03-20 09:16 分类:问答Android App create directory works for most but gives error unable to create directory on sdcard on many
My application creates a directory name on the phone\'s sd card and stores a bunch of images in it.The code works fine for the majority of users, but some are reporting errors saving files.[详细]
2023-03-20 01:26 分类:问答populating a listView with images on the device
Ok so Ive spent the last two days looking for a good simple example of how to use the images on a device to populate a list view and Ive come to the conclusion that there is no easy way to do this.开发[详细]
2023-03-19 20:11 分类:问答Android picture saved to SD card not showing in Gallery
Currently I have a program that takes pictures and saves them as a jpg on the top level of the sdcard, but its not appearing in the Gallery. Is th开发者_如何学Cere something I must do to make it happe[详细]
2023-03-19 16:33 分类:问答