Here's a site that discusses the pass by value thing ...
   http://code.google.com/android/reference/aidl.html#parcelable

I don't know what the upper limit is but when I was passing bitmaps in a
bundle,
I could pass a ~250K bitmap.  It was a tremendous performance hit though.


On Mon, Oct 13, 2008 at 8:25 AM, Peli <[EMAIL PROTECTED]> wrote:

>
> Also, intent extras could be passed between different applications,
> living in separate processes, in which case there is no way to
> transfer them by reference.
>
> But I'd be also interested in the question if there exists a hard
> limit on intent extras size.
>
> Peli
> www.openintents.org
>
> On Oct 13, 1:46 pm, "Jake Maui" <[EMAIL PROTECTED]> wrote:
> > I believe I read somewhere that it's passed by value.  This makes sense
> > because I tried to pass a bitmap and it was extremely slow and there
> seemed
> > to be a size limit beyond which, it would not work.  If I come across the
> > site that discussed that it was by value, I'll post it.
> >
> > On Mon, Oct 13, 2008 at 3:44 AM, Ernest <[EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> > >   Anyone knows the way that Intent's extra transfer between different
> > > activities?I mean the extra is transfered by value or by
> > > reference.And  is there a limit for the extra size?Thank you very
> > > much.
> >
> > > Best Regards
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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