Function getResponseCode failed on Android 4.0