WebView와 네이티비 사이에 인터페이스 코드를 작성해 줘야 합니다. 구체적인 내용은 아래에 링크에 있는 개발자 문서를 확인하시길 바랍니다.
https://developer.android.com/guide/webapps/webview#BindingJavaScript