I think it depends on the App and what you want to share. I have a
SoftReference HashMap that I use for a cache of bitmaps. Bundling that up
and passing it around would be a nightmare.


On Tue, Jun 30, 2009 at 3:41 PM, Dexter's Brain <[email protected]>wrote:

>
> Perhaps, passing data within activities is supposed to be done through
> Bundles. I guess, that is why they are there...
>
> Dexter.
>
> On Jun 30, 3:21 pm, Gavin Aiken <[email protected]> wrote:
> > Yeah, I use an Application class which holds common data. There are a few
> > options;
> >
> > http://developer.android.com/guide/appendix/faq/framework.html#3
> >
> > On Tue, Jun 30, 2009 at 8:26 AM, Saurav Mukherjee <
> >
> > [email protected]> wrote:
> > > if both the activities are in the same app, yes, its possible.
> >
> > > On Tue, Jun 30, 2009 at 12:47 PM, Sukitha Udugamasooriya <
> [email protected]
> > > > wrote:
> >
> > >> Is it possible to transfer data between activities without using
> > >> "extars"??
> > >>  I need to access MyOwnObject in Atctivity 1 from Activity2
> > >>  Possible with using static fields?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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