You might consider putting session state into your own application
object. Make your own application class by extending
android.app.Application and specifying the application class in your
manifest. Every activity can access the application object by calling
getApplication().

On Mar 9, 9:46 am, zeeshan <[email protected]> wrote:
> Hi,
>
> i need to store my usr and pass into user session so my activity at N
> level can access it for athentication.
> i tried PutExtra but dont think its a good idea to get values and then
> put again in every activity.
>
> any better solution ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to