When an HTML file contains images which are larger than (or even equal to) a device's screen, it throws off calls to anchors in WebView, such that the part of the file with the anchor does not appear on screen.
Example:
With the above code, the text following the anchor "SRCHTMP" will appear properly (on screen) on a device larger than embedded pictures but not on a smaller device.
A lengthy discussion and test app are in this post and related discussions of the problem in the posts around it.
Example:
B4X:
fi="File://" & File.Combine(File.DirInternal, "temp.htm#SRCHTMP")
ViewHelp.LoadURL(fi)
With the above code, the text following the anchor "SRCHTMP" will appear properly (on screen) on a device larger than embedded pictures but not on a smaller device.
A lengthy discussion and test app are in this post and related discussions of the problem in the posts around it.