Hi guys,

currently I'm developing an app that logs into a website using form
based auth. Before I implemented that using the internal Http client,
I have been 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/web2sms4android/source/browse/trunk/Web2SMS4AndroidUI/src/de/mastixmc/web2sms/android/connection/ApacheNetworkHandler.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... :(

I also wasn't able to a "good" tutorial about Cookie Handling. :(

Thank you very much in advance, guys.

Sascha

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to