StringRequestEntity stringreq = new StringRequestEntity(
f.toString(),"application/x-www-form-urlencoded","utf-8");
String uri = "https://www.google.com/accounts/ClientLogin";
RequestOptions options = abderaClient.getDefaultRequestOptions();
options.setContentType("application/x-www-form-urlencoded");
ClientResponse response = abderaClient.post(uri, stringreq, options);
InputStream in = response.getInputStream();
ByteArrayOutputStream out = new ByteArrayOutputStream();
int n = -1;
while ((n = in.read()) != -1) { out.write(n); }
out.flush();