What is the best way to present Javascript-enabled stuff from Android?

I am trying to use Vexflow ( http://vexflow.com/ ) on Android. However, I am stumped to best display the output. Is it possible to have a series of webviews and then feed javascript calls to them? Something like this is what I am trying to achieve:

example image http://paraboxstudios.com/javascript_example.png

+3


source to share


1 answer


You can include the HTML file along with any JavaScript files in your assets or resources and then load it into one WebView . The method loadData

may be of particular interest (if you have problems you can also try loadDataWithBaseURL

, which sometimes touches on some problems).



+1


source







All Articles