I have two questions:-
1. The following code works in debug mode, and I can see my picture, but does not work in release mode. why is that?
2. Then I used this code, and this works in release and debug, so problem solved. The image I am displaying is animated gif image which loops once. How do I get it to loop again if the user clicks on it?
1. The following code works in debug mode, and I can see my picture, but does not work in release mode. why is that?
B4X:
imgArr.LoadUrl("file://" & File.Combine(File.DirAssets, arrURL(counter)))
2. Then I used this code, and this works in release and debug, so problem solved. The image I am displaying is animated gif image which loops once. How do I get it to loop again if the user clicks on it?
B4X:
linktoimage = File.Combine(File.DirAssets, arrURL(counter))
imgArr.LoadHtml("<html><head></head><body><img src=' " & linktoimage & " '></body></html>")