If you make your object implement the Parcelable Interface, you can
pass it through the Intent Object

using putExtra(String name, Parcelable value). In your new activity
you can access the same object using getParcelableExtra(String name)

For more information pls refer to
http://developer.android.com/reference/android/os/Parcelable.html
http://developer.android.com/reference/android/content/Intent.html

Hope this helps,
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Jun 25, 8:04 am, zeeshan <[email protected]> wrote:
> Hi Dear,
>
> is it possible to pass an object to the intent so i can access that
> object in my new activity?
--~--~---------~--~----~------------~-------~--~----~
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