Android- using addJavaScriptInterface to return a value from Javascript

后端 未结 3 2026
猫巷女王i
猫巷女王i 2020-12-30 14:50

So i know there are other posts addressing the same issue, and I think I\'ve followed them to the letter but alas to no avail. I\'m trying to learn how to get my app to int

3条回答
  •  無奈伤痛
    2020-12-30 15:32

    Try enabling javascript on your webview :

    mWebview.getSettings().setJavaScriptEnabled(true);
    

提交回复
热议问题