hi
I'm capturing a screenshot.
when I capture a new screenshot it still shows the old one.
How can I fix.
i tried this but it still shows the old image.
thanks..
I'm capturing a screenshot.
when I capture a new screenshot it still shows the old one.
How can I fix.
B4X:
Sub Button1_Click
............
bitmap1.Initialize3(vv.TakeScreenshot)
Dim Out As OutputStream
Out = File.OpenOutput(dir, "image.jpg", False)
bitmap1.WriteToStream(Out, 100, "JPEG")
Out.Close
MediaManager.SetMediaFromFile(Panel2, dir, "image.jpg","image/*", CreateMap(MediaManager.REQUEST_ZOOMIMAGEVIEW: True))
End Sub
i tried this but it still shows the old image.
B4X:
MediaManager.ClearMedia(Panel2)
thanks..