For one of my recent project, I need to list down all the media files (audio files to be specific) available in sd-card. First I was trying to scan the sd-card and filtering out only the audio files so on. My code got so messy. Later via this question on StackOverflow I figured out my […]

In the current app I’m developing user has privileged to add an image to the application. Image Uri (sd card location) will be saved in SQLite. Now the problem arises what if the user deletes the image in SD card and app trying to access it. Definitely that’ll be a force close. This is how we can check […]