when use this code on sdk 29 work fine
on sdk > 29 get
webpage not avalaible
net:err_access_denied
any idea why ?
on sdk > 29 get
webpage not avalaible
net:err_access_denied
any idea why ?
B4X:
Private WbRd As WebReader
Dim UnZipFolder As String = File.Combine(File.DirInternal, "epub")
Reader.UnZip(ePubFile, UnZipFolder, "Unzip")
Dim Book As ePubBook = Reader.ReadWithoutLoading(ePubFile, "UTF-8")
Dim OpfResource As String = Book.OpfResource.Href
BaseURL = "file://" & File.Combine(UnZipFolder, OpfResource.SubString2(0, Max(0, OpfResource.LastIndexOf("/"))))
WbRd.LoadUrl(File.Combine(File.DirInternal, Navigator.CurrentResource.Href))