android-mediascanner Questions
5
Solved
I am trying to make some pictures that are taken in the app visible in the Gallery (so they can be shared and looked at outside of the app), but I want to keep the images themselves inside the data...
Disinfest asked 23/4, 2015 at 12:38
3
Background
When the user downloads a new image or captures one using the camera, the gallery app will get updated to show the new images.
I need to be notified of each new image as soon as it was...
Coca asked 23/1, 2014 at 14:38
5
Solved
I'm writing an app that removes files that may or may not be listed in any one of the types of media libraries such as music or pictures. While I can use the MediaScannerConnection.scanFile method ...
Bandwagon asked 5/12, 2011 at 0:15
4
Solved
I'm trying to save an image file to external storage. I can save the picture to the sdcard but it doesn't show up in Androids gallery application. I've tried this approach:
File path = Environment...
Askwith asked 7/10, 2011 at 13:9
3
Solved
Because I want to make sure the MediaStore has the latest information without having to reboot I'd like to trigger the MediaScanner using the popular way I found on SO
context.sendBroadcast(new In...
Inexertion asked 28/2, 2013 at 23:14
1
Background
I'm making an app that downloads some images from the Internet into a specific folder that is defined as:
final String pathToPutFiles = Environment.getExternalStoragePublicDirectory(En...
Forethought asked 19/1, 2014 at 12:17
6
Solved
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 thi...
Steels asked 20/1, 2011 at 22:13
1
Solved
Background: In Android 4.4, Google decided that apps should not have write access to SD cards.
However, apps can write to /SDCard/Android/data/App Package Name.
So this is what I've done. I have ...
Jacklyn asked 28/2, 2014 at 1:33
4
Solved
I want to add taken photos to MediaStore so Gallery app can find them (without restarting device).
App's min sdk is 9. Any help, blog or documentation appreciated.
Suziesuzuki asked 17/2, 2014 at 7:5
2
Solved
I want to get the frames of a video file to show in a gallery view in android. and how to edit frames, for example
Select frame sections
use selected sections
delete selected sections
copy sele...
Calculation asked 9/4, 2012 at 9:37
4
Solved
on api level 4 (android 1.6), after taking photo using:
Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
File photo = new File(Environment.getExternalStorageDirectory(), "NewPic.j...
Eisenhart asked 24/2, 2011 at 16:55
2
I'm trying to delete some files or directories from the internal memory (ASUS TF101) using the commands File.delete(). However, using the Android File explorer I can see how the files are removed, ...
Vetchling asked 2/8, 2012 at 23:15
1
I want run the media scanner while capturing the image. After capturing, the image it is updated in grid view. For that I need to run media scanner. I found two solutions to run media scanner one i...
Removed asked 7/11, 2012 at 13:29
2
Solved
I use this class to scan my app image in SDCard.
public class SingleMediaScanner implements MediaScannerConnectionClient {
private MediaScannerConnection mMs;
private File mFile;
public SingleMe...
Thornton asked 29/12, 2011 at 8:46
2
When I save an image to new location and then use MediaScanner to refresh the gallery then everything is fine - thumbnails and images are refreshed well.
But when I save an image to EXISTING locat...
Quotable asked 18/10, 2011 at 10:6
© 2022 - 2024 — McMap. All rights reserved.