A quick and simple one. I am aware that this functionality should have returned with release n188, but for those that cannot find it and need to build html on the fly, here it is.
Working with the webviewer, you feed the extension block with your html, and the output is displayed
1.1 update to provide for use on Kodular (webviewer file access)
2 revised by @Passos_0213 to remove the need to create a temporary file (behind the scenes...)
Enjoy , and all feedback and comments welcome.
Available for use in any MIT AppInventor projects or competitions
#####################################################################
This work by TIMAI2 is licensed under a Creative Commons Attribution-ShareAlike 4.0 Unported License with attribution.
Please use name = TIMAI2 and link to this source page when giving credit.
#####################################################################
Note: this extension may not / will probably not work if your html content contains html <!--> or javascript // comments.
Note: you can also do this using my JustBase64 extension and encode the html content to base64
Amazing Extension @TIMAI2 it will help me a lot in my project.
but currently i am facing 2 issues.
When the code is loaded the elements are not responding. for eg, in my case there is a button, but nothing happens when i click it. (There is no issue in code its working) the Start Quiz Button.
Which extension are you using, basesLoaded or noFileHTML ? (or both...) to run your html.
In both cases, they will only have access to fully qualified urls for any resources.
Are you using plain javascript or jquery or another framework?
What do you expect to happen when you press the Start Quiz button in your html ?
On testing, it appears that the basesLoaded extension has a problem with compiling, i will need to investigate that! Meanwhile, here is a simple base64 only extension you can use: uk.co.metricrat.justbase64.aix (4.0 KB)
I am assuming that all these "views" are contained on the same single html page with the script code and css and all the answers are similarly contained ? The webviewer cannot handle local storage....