Hi,

We are working on to get all the camera photos and videos (Media Image and 
Videos) both in External and Internal Storage.

We have used the below code to get the file path of media files. Under the 
folder /DCIM, there are folders like "Camera", "100ANDRO", "100MEDIA" which 
is storing the camera photos and videos. How do we specifically look for 
files under these folders. We thought of hard coding it to get files under 
"Camera", "100MEDIA".. But will this be in same name in a device 
manufactured from different countries like "Japan", "China". Can you 
suggest any other way to extract camera photos and videos.

File dcimFile = Environment
                
.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM);

File pcitures = Environment
                
.getExternalStoragePublicDirectory(Environment.DIRECTORY_PCITURES);

Also some devices, we can select to save camera photos and videos in 
Internal storage. What would be the storage path for camera photos in 
Internal storage.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to