Created file is not visible in the gallery, but is visible in a sdcard folder



I've added a video file in /mnt/sdcard/DCIM/somefolder
But it is not visible in the gallery.
Could anyone help me please to understand what is wrong?


File dir = new File(Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_DCIM), "/somefolder");
if (!dir.exists()) {
dir.mkdirs();
}
mrec.setOutputFile(dir.getPath() + "/video" + ".mp4");

Related to : Created file is not visible in the gallery, but is visible in a sdcard folder
Created file is not visible in the gallery, but is visible in a sdcard folder
by tong in Programming Languages

I've added a video file in /mnt/sdcard/DCIM/somefolder
But it is not visible in the gallery.
Could anyone help me please to understand what is wrong?


File dir = new File(Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_DCIM), "/somefo
Created folder in sdcard is not visible through WindowsExplorer
by adapar in Programming Languages
Hi Community,
I have created a folder in SdCard using a code below:
Quote:
if (Environment.MEDIA_MOUNTED.equals(state)) {
// We can read and write the media

Created folder is not visible in the file explorer..
by Delaware in Programming Languages

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() + "/folder");
boolean success;
if (!folder.exists())
create visible folder sdcard, Android
18/11/2014 10:40 am by KCro in Programming Languages

I'm developping an application where I need to create new folders/files in the sdcard. The thing is I can see them using a root explorer but not with the default one which comes with Android.

I've taken a look at several similar questions here but don't seem to work for me.

For su


Image files created not visible in Gallery
by stephenbennyhat in Programming Languages
Hi,
I'm working on an application that saves image files to phone memory and/or memory card. On my development device (6220 Classic, 3rd edition FP2), the saved images sometimes appear in Gallery immediately, but sometimes don't seem to appear at all. In this case, removing and re-inserting the
Photo's not visible in gallery / Created Date modified
by NikolaeVarius in Programming Languages
Over the last couple of weeks I have searched through the forums and found several similar issues and I have tried several of the suggestions. However, I've had no luck and I am stumped... my photos all at once disappeared from my gallery. If you look in the folders they are all still there but all
cm10.1 sdcard mounted and visible in terminal but not file manager?!?
by Minh Nguyen in Programming Languages
i have to assume that its a permission issue, but i cant figure out for the life of me exactly what...
heres the deal, been converting from cm10 to cm10.1 on the warp sequent, have gotten as far as to make the sd card readable using adb shell... i can cd to /storage/sdcard, do an ls, and i
.3gp file is not visible on windows folder
by Megatomic in Programming Languages

I created an audio recorder for android and save it as a .3gp file. However whenever I try to look at windows explorer mode and the actual drive it is nowhere to be found.


My location:


private static String mFileName = Environment.getExternalStorageDirectory().getAbsolu
make a folder visible to file manager
by rajnesh in Programming Languages
Hi,
I have to create a folder into the phone memory, so I can explore that folder from file manager.
I can create a folder using RFs::MkDir() or RFs::MkDirAll(), specifying a valid drive like 'D:' or 'E:', but when I try to explore folders with the file manager I can't find the created one
File moved to a shared folder =" not visible
by phokus in Programming Languages
I'm sharing a folder with other PCs on the network and it works fine, except in this case:
1. file in D:folder1 (normal folder)
2. move file to D:folder2 (shared folder)
3. file not visible from other PCs
Why is that? Any solutions?
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .