[<<][android][>>][..]
Thu Jan 7 15:43:57 CET 2010

CPS and Activities

The android application model is designed to limit memory usage.  One
of the main components visible to the application programmer is the
``swapping out'' of activities.

Whenver an application looses focus its onPause() method is called.
At this time, all Activity state needs to be saved in a Bundle: it
might happen that the process running the VM hosting the Activity gets
killed by the low memory killer in case memory is needed elsewhere.

If you combine this with the highly a-synchronous nature of the
android API, an application written in CPS becomes attractive.

The main question is: how to represent tree / graph structures as an
Intent?



[Reply][About]
[<<][android][>>][..]