Check whether file exists

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...

Android: Create Folder in SD CARD

If you wanna create folder in SD card then you can do the following. File audioDirectory = new File(Environment.getExternalStorageDirectory()+"/RDMSAudio/"); audioDirectory.mkdirs();

FORCE HIDE Soft Keyboard

I was working on a splash screen and out of nowhere a soft keyboard poped up on the screen. No matter what I tried it didn’t go out. Finally figured out a way to force hide the soft keyboard....