Refresh picture preview

Yeshua

Member
Licensed User
Longtime User
When I take a picture and explore the archive, its preview is the same.
I have to click on it to see the new picture.
You can refresh the preview?

B4X:
Sub Camera_PictureTaken(Data() As Byte)
   Dim out As OutputStream
   Dim fn,root,path1 As String
   root=File.DirRootExternal
   path1 = root & "Picture"
   fn="SUN.jpg"
   out = File.OpenOutput(path1, fn, False)
   out.WriteBytes(Data, 0, Data.Length)
   out.Close
End Sub
:sign0163:
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…