currently I'm developing an app that logs into a website using form based auth. Before I implemented that, I was using the HttpUrlConnection, but due that fact that my software didn't work in 2G networks I've changed my implementation to use the internal http client.
Does anyone of you know about an OpenSource App that does the same that I want? Like logging into a website (getting and setting Cookies) and so on? If yes, I could have a look at that. I mean the thing is... I need to find out whether the login worked or not.
Or does anyone know how it works correctly? Maybe some of you guys have already implemented something like that?
This is my current implementation that does not work:
http://code.google.com/p/web2sms4androi ... ndler.java
In the httpHandler() I set the cookies as member variable (setCookiesFromHeader() and also put them into the header if they exist (prepareConnection).
It would be really great if someone could help me. Really would like to release the version of my app, since a lot more things have changed. And this issue keeps me stuck...
Thank you very much in advance, guys.