I copied this code to use android native WebView in my Kivy application. Works perfectly :)
Now, I would like to bind my JavaScript with my Kivy application. I've read through this guide:
...
/** Show a toast from the web page */
@JavascriptInterface
public void showToast(String toast) {
...
How can I create a PyJnius class that has @JavascriptInterface
annotation?
Thanks!