Er.  It allocates memory.  Exactly how much memory you can allocate is going
to depend on a lot of variables.

If you are talking about what you can send through an IPC, typically there
is a 1MB limit per process on the in-flight IPC transaction buffers, so you
will have less than that and possible significantly less than that depending
on what is currently in-flight.

But ignoring all that, you probably really shouldn't be using this or
playing other tricks with Parcel.  Please.

On Mon, Sep 27, 2010 at 2:47 AM, Tuyen <[email protected]> wrote:

> According to the API doc, Android seems to support for changing the
> data size of Parcel container. And there is no notice limiting the
> size of Parcel. The document is here
> http://developer.android.com/reference/android/os/Parcel.html#setDataSize()
>
> On the other hand, when our developers are doing some tests on this,
> the size is dependent on the platform and devices.
>
> So i just wonder whether there is any limit on the data size of
> Parcel. At least this information should be mentioned in the API
> document.
>
> Can the community help me to have this more clearly?
>
> Thank you very much.
> Tuyen
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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