Android – how to intercept a form POST in android WebViewClient on API level 4

This is known issue, that shouldOverrideUrlLoading don’t catch POST. See http://code.google.com/p/android/issues/detail?id=9122 for details.

Use GET! I personally tried using POST, because I expected some limitation of GET parameters (i.e. length of URL), but I just successfully passed 32000 bytes through GET locally without any problems.

Leave a Comment