Niall gmail.com> writes:
>
>
> Thanks a lot. Got it working now.
>
>
>
>
What changes you ade to make it work.Could you share what you have done!!!
Thanks in advance.
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
Thanks a lot. Got it working now.
--
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...@googleg
On Tue, May 3, 2011 at 12:52 AM, Nikolay Elenkov
wrote:
> On Mon, May 2, 2011 at 10:58 PM, Niall wrote:
>> I just looked at the logcat of my app and noticed a warning I hadn't noticed
>> before.
>> W/ResponseProcessCookies( 575): Invalid cookie header: "Set-Cookie:
>> USERNAME=user; expires=Mon,
On Mon, May 2, 2011 at 10:58 PM, Niall wrote:
> I just looked at the logcat of my app and noticed a warning I hadn't noticed
> before.
> W/ResponseProcessCookies( 575): Invalid cookie header: "Set-Cookie:
> USERNAME=user; expires=Mon, 02-May-2011 12:54:51 GMT; path=/;
> domain=domain.com". Unable
I just looked at the logcat of my app and noticed a warning I hadn't noticed
before.
W/ResponseProcessCookies( 575): Invalid cookie header: "Set-Cookie:
USERNAME=user; expires=Mon, 02-May-2011 12:54:51 GMT; path=/;
domain=domain.com". Unable to parse expires attribute: Mon
Not sure what that
Yes, sorry.
I did it in my code, but not when I wrote it here!
On Jan 14, 7:05 pm, Mohammed Le Doze
wrote:
> You are welcome. It sure will be useful for somebody.
> Just a quick note about your getCookie method: make sure to store the size
> of the 'cookies' list before the for loop. Not doing so
You are welcome. It sure will be useful for somebody.
Just a quick note about your getCookie method: make sure to store the size
of the 'cookies' list before the for loop. Not doing so forces the JVM to
calculate the size of the list on each iteration.
More info here:
http://developer.android.com/
Thank you Mohammed, but I've already seen these questions !
I win ! I don't use onSaveInstanceState/onRestoreInstanceState because
I save the cookie in SharedPreferences when I receipt it , and restore
it if I have to create a new HttpClient. So my code :
private static final String COOKIE_NAME =
First of all, thanks a lot for your answer Federico!
My server seems to always accept the same cookie, I'm not sure, but
for now, we can guess it !
So I think I'll try to serialize & store the cookie before the
activity is killed, and restore it when restart.
I'll send a message after this work is
I am afraid you have to implement a recovery mechanism in any case,
because of cookies expiration. If the server gives you an
authentication error you should restart the authentication process
before performing any other action.
In any case you can serialize and store the cookie in the shared
pref
Maybe try to search the web for HttpClient an Apache lib. available
on Android by default.
On 2 mar, 05:00, Marco Nelissen wrote:
> On Sat, Feb 28, 2009 at 10:44 PM, Miles Smith wrote:
> > How does one go about setting a cookie?
>
> > I have an website that sends mp3's to clients, but the re
On Sat, Feb 28, 2009 at 10:44 PM, Miles Smith wrote:
> How does one go about setting a cookie?
>
> I have an website that sends mp3's to clients, but the request must have a
> cookie attached to it. How would I go about setting a cookie for a
> MediaPlayer URL request? Is that even possible?
No,
I remember there is a apache common http lib you can use. I think it
already did some works to help u to use 'cookie'
On Jun 18, 11:48 pm, Prem <[EMAIL PROTECTED]> wrote:
> Hi,
> I wanted to implement cookie in my Android application. How do we use
> cookie functionality to track any information
u dont need cookies like web applications do, unless u r doing web
applications for the webkit browser.
u can use SharedPreferences for small amount of data, think of it like
registry in windows.
if the data set is large, you might want to consider SQLite, or just your
own plain text database if
14 matches
Mail list logo