HTML reports

Dman

Active Member
Licensed User
Longtime User
I've been studying on these and can see the concept of reporting using html and a webview. I would like to be able to replace the html reports as needed without reinstalling with a different html page.

I guess what I am asking is where does the files install at on the Android? I have been all over mine and can't seem to find any installation that I have done.
 

Dman

Active Member
Licensed User
Longtime User
Well after more studying, it looks like it is a little more complicated than what I originally thought.

Is there a code that one can use within the app to copy a file to the files folder that already exists? Or maybe another way to do it?
 
Upvote 0

Dman

Active Member
Licensed User
Longtime User
Ah, so if I wanted to tweak the html file that is the report, I can just put an edittext on the page that reads the html page, tweak it as needed and just have it overwrite the existing html file. Would that be the easiest thing to do?
 
Upvote 0

Dman

Active Member
Licensed User
Longtime User
Getting there. I have sucessfully created an html report (Thanks NJDude) and was able to print it using the directions http://www.b4x.com/forum/basic4android-getting-started-tutorials/17692-bluetooth-printing-via-spp.html#post101457.

The problem is that I have the variable set wrong because it actually prints the html code and not what it looks like in the browser. I searched but couldn't find anything. I'm thinking that I have to copy the webview contents into the printing variable somehow but......
 
Upvote 0
Top