Hi everybody ! I'm really new on Android so it may be a stupid question :)
I'd like to know how I can pass the instance of HttpClient created in a first activity to a second activity. What I'm trying to do is to connect to a webservice that uses sessions to handle the identification. Therefore I need to always use the same instance of HttpClient so that the sessions is kept alive. Here is how I want to do this : I start my first activity displaying an login and password form. When clicking on the connection button, the activity logs the user on the webservice by doing a POST. The webservice answer with a login status and if the user is valid, I forward the user to another activity that have touse the same session for requesting data to the webservice in order to keep the same session. Thanks a lot for everyone's help ! Geoffrey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

