Android KitKat MediaScannerConnection not finding images saved to private app folder -
The I have created an app which contains processed chosen went image by the user from the gallery, to process the modified image The new kitkat permissions limitations on the specific devices (mainly Samsung) are seriously restricting with a modified file name in the folder of the original image after which a non-system app, eg. Return to external SD card or typical gallery locations. Documentation obtained through private package specific folder getExternalFilesDir (zero) to recommend to write This is fine and image correctly but then the saved MediaScannerConnection.scanFile Even a reboot , as correctly to the central media database updates The revised image does not appear in the gallery after the call fails to scan the full scan of all media devices To Radrshit image should not be triggered. Does not the following code in other words: file Apeediaiar = Mataktivtikis .getExternalFilesDir (empty); File file = new file (app, "new_image.jpeg"); // process ...