I am trying to get list of files existing in the Phone Pictures folder (internal storage, no SDCard inserted) using this:
File file = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
File[] files = file.listFiles();
but files value is always being null. I also add this to AndroidManifest.xml
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Any ideas will be much appreciated, thanks in advance.