D Dman Active Member Licensed User Longtime User Aug 15, 2012 #1 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.
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.
D Dman Active Member Licensed User Longtime User Aug 15, 2012 #2 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
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?
Erel B4X founder Staff member Licensed User Longtime User Aug 15, 2012 #3 It shouldn't be complicated. You do not see the files as Android doesn't let you see the (internal) files of each applications. Files locations are explained here: Text files Upvote 0
It shouldn't be complicated. You do not see the files as Android doesn't let you see the (internal) files of each applications. Files locations are explained here: Text files
D Dman Active Member Licensed User Longtime User Aug 15, 2012 #4 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
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?
Erel B4X founder Staff member Licensed User Longtime User Aug 15, 2012 #5 Yes. You can overwrite the file. Upvote 0
D Dman Active Member Licensed User Longtime User Aug 22, 2012 #6 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
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......