Check if the directory is readable. If it is not, then display a dialog. Try to...
drwxr-xr-x - android
drwxr-xr-x - core