Re: [android-developers] Re: How to maintain session in Android

2011-09-13 Thread Christopher
could you please send any sample code.. i want to maintain this session through out my application On Tue, Sep 13, 2011 at 10:55 AM, Ryan Mattison wrote: > Hey Christopher, > > There are a lot of ways. Simplest is to extend application, set this > as your application in the manifest. Then ini

Re: [android-developers] Re: How to maintain session in Android

2011-09-13 Thread ANKUR GOEL
Hi, i am using one web view for login i want to be logged in for suppose 1 hour . but as i move to other activities and come back to web view the session is lost .. can u elaborate on this wht might be the case . i tried with cookies but that does not work . thanks' On Tue, Sep 13, 2011 at 10:5

[android-developers] Re: How to maintain session in Android

2011-09-12 Thread Ryan Mattison
Hey Christopher, There are a lot of ways. Simplest is to extend application, set this as your application in the manifest. Then initialize a class with getters setters to a hashlist. Create an accessor in your application class. When you want to access this cast getApplication from an Act