Android Question I have another WebView question

Lary Yenta

Member
Licensed User
Okay, I have succeeded in creating an html file with my glucose reading report which I can read fine on my pc. I wanted to use the WebView component to read the file on my tablet. I have tried this, but it shows nothing on the screen:

B4X:
Sub btn1_Click
   Dim T1 As String
   T1= File.DirDefaultExternal & "/" & "GluRpt.html"
   
   WebView1.LoadUrl(T1)   
   
End Sub
I know that someone will know the answer as to what I amn doing wrong here.

Regards,

lary
 

Lary Yenta

Member
Licensed User
Thanks for the response LucaMs. I Tried that but the message that I get is "File not found". I know that the file is there because I can browse to it but I don't understand why I can't get it to display?

Regards,

Lary
 

Lary Yenta

Member
Licensed User
Hi there, Reviewnow. I have tried it live and a few different ways but no luck. Perhaps the proble is that my main test unit is a Nexus 7 which only uses an emulated SDCard. I find it strange though. If anyone has any suggestions I would welcome them.

Regards,

lary
 
Top