Answer the question
In order to leave comments, you need to log in
How to use JS library in WebView?
There is a JS library for creating charts.
On a remote server, I created a rest api (sent parameters, received a picture in PNG).
There is an android application that creates json with parameters for the chart.
When a button is pressed in the application, a request with parameters is sent to the server. After receiving the response, the picture is inserted into the ImageView.
Everything is working. But very long - 10-15 seconds.
Maybe you can push the library into the application (for example, through WebView)? and do something like
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question