Android Question I have another WebView question

Lary Yenta

Member
Licensed User
Longtime 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
Longtime 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
 
Upvote 0

Lary Yenta

Member
Licensed User
Longtime User
Ok, Tried that and I got the following message....
 

Attachments

  • Screenshot_2015-05-10-11-05-26.png
    Screenshot_2015-05-10-11-05-26.png
    78 KB · Views: 155
Upvote 0

Lary Yenta

Member
Licensed User
Longtime 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
 
Upvote 0
Top