HttpURLConnectionで実装していた部分をHttpClientに変えてみたら、UserAgentが変わってしまいました。 そこでHttpClientのリクエストにHttpURLConnectionのデフォルトのUserAgentをセットしてやろう思ったのですが、それがなかなか見つからなかったのでメモっときます。 HttpURLConnectionでUserAgentをセットせずに通信すると、 Dalvik/1.4.0 (Linux; U; Android 2.3.6; Nexus S Build/GRK39F)な文字列が入ってリクエストが送られます。 WebViewのデフォルトのUserAgentは、WebSettings#getUserAgentString()で取得できて Mozilla/5.0 (Linux; U; Android 2.3.6; zh-tw; Nexus