I am looking for an example that shows how to invoke a login page in webview. The page requires POST and passing the user name and password in json format.
Though I'm not using it any more (replaced such requests with okHttpUtils2), here's how I did it in the past:
B4X:
Private tempPostUrl As String="yourURL"
Private tempPostString As String="yourPostData after encoding URL"
Private bytesOfPOstRequest() As Byte
bytesOfPostRequest=tempPostString.GetBytes("UTF8")
Private jo As JavaObject=yourWebView
jo.RunMethod("postUrl",Array As Object(tempPostUrl,bytesOfPostRequest))