So I wrote this app that takes a picture and saves it in the path file:///storage/emulated/0/images/ In the same app, I need to load pictures from this file.
I could successfully take a photo, but when I try the load function, the photo just took is not showing. However when I reboot my phone and then use the load function, everything taken before the restart is showing !
I just want the photo to show when I use the load function, without rebooting.I don't know if this has anything to do with my phone settings. Does any one know how to amend that? Thanks in advance.
Btw in Manifest I already have :
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />