I want to create an android app to login to my internet provider website and then read my 3g data comsumption.
(It\'s a https website: https://www.simyo.es/simyo/portal/
Before
HttpGet request = new HttpGet("https://www.simyo.es/simyo/portal/customer/action/my-panel");
Do a
HttpPost request = new HttpPost("https://www.simyo.es/simyo/portal/j_security_check");
List nameValuePairs = new ArrayList(2);
nameValuePairs.add(new BasicNameValuePair("j_username", "PUT_USERNAME_HERE"));
nameValuePairs.add(new BasicNameValuePair("j_password", "PUT_PASSWORD_HERE"));
request.setEntity(new UrlEncodedFormEntity(nameValuePairs));
client.execute(request);