开发者

is there a maximum android.os.Message.obj size?

开发者 https://www.devze.com 2023-03-16 05:25 出处:网络
I\'m using Messages to return the HTML/XML/etc. from my \"Communic开发者_开发技巧ator\" service to some Activity in my App.

I'm using Messages to return the HTML/XML/etc. from my "Communic开发者_开发技巧ator" service to some Activity in my App.

This is working great at the moment - but I worry: How big can the HTML get before this system breaks down?

note: I checked the documentation at http://developer.android.com/reference/android/os/Message.html but I don't see any max size warnings.

Maybe someone has a personal experience to answer this question.


How big can the HTML get before this system breaks down?

If you are using the obj public data member on Message for intra-app data exchange, the limit is available heap space.

0

精彩评论

暂无评论...
验证码 换一张
取 消