B bluedude Well-Known Member Licensed User Longtime User Jan 22, 2015 #1 Hi, I'm writing a bitmap like this: Dim out As OutputStream out = File.OpenOutput(File.DirInternal ,"logo.png", False) bmp.WriteToStream(out, 100, "PNG") out.Close and referring to it like this in local HTML: "file://" & File.Combine(File.DirInternal ,"logo.png") But for some reason when I re-write logo.png I always keeps showing the same bitmap even if I write another one to logo.png (overwrite).
Hi, I'm writing a bitmap like this: Dim out As OutputStream out = File.OpenOutput(File.DirInternal ,"logo.png", False) bmp.WriteToStream(out, 100, "PNG") out.Close and referring to it like this in local HTML: "file://" & File.Combine(File.DirInternal ,"logo.png") But for some reason when I re-write logo.png I always keeps showing the same bitmap even if I write another one to logo.png (overwrite).
Erel B4X founder Staff member Licensed User Longtime User Jan 22, 2015 #2 Test it by loading the image to an ImageView. Does it show the new image? Are you calling WebView.LoadHtml after you update the image? Upvote 0
Test it by loading the image to an ImageView. Does it show the new image? Are you calling WebView.LoadHtml after you update the image?