I want to know is there any size limitation on Parcelable
that attached to an Intent
? I Read some docs about Intents
, Bundles
, Parcelable
again and there was nothing about size limitation. But I read some answers, that say size of attached Parcelable
is limited (for example, 1 MB). So are Parcelable
s limited by size or it only depends to the device?
Asked
Active
Viewed 8,225 times
18
Community
- 1
- 1
hasanghaforian
- 13,142
- 8
- 71
- 144
1 Answers
19
Its explained on the docs here. The transaction buffer for each process is 1 mb. In my understanding the factors to be considered are:
- Individual size of transactions(maximum 1 mb)
- The number of transactions(the sum of size of all transactions should be less than 1 mb)
Illegal Argument
- 9,249
- 2
- 38
- 56