Unfortunately, the weepeetv site is setting cookies with an incorrect Expire date.
Android does not like this.
W/ResponseProcessCookies(20386): Invalid cookie header: "Set-Cookie: snip; expires=; path=/;
isSecure=false". Unable to parse expires attribute:
I've been trying to use different http implementations: HttpClient versus HttpURLConnection but to no avail.
Tried the different CookiePolicies on http://developer.android.com/reference/org/apache/http/client/params/CookiePolicy.html
Nothing works.
So the only solution I found is doing the parsing on Linux, running a webserver with the parsed XML file and providing this to the android application. (or compiling curl for android, but this is too much work for now :)
This works.
The next challenge is actually playing those streaming files. (hint: https)
No comments:
Post a Comment