public void httpClientGet(View view) { final String username = usernameEditText.getText().toString().trim(); final String password = passwrodEditText.getText().toString().trim(); //Android默认模拟器外部的地址为10.0.2.2,而不是localhost和127.0.0.1 final String server…