an application using our framework. We observed
that all the programmers had some initial difficulties
to understand the proposed life-cycle and all its
specifications. We quickly concluded that the given
documentation and example was insufficient to
completely understand the life-cycle. At the end, all
participants have stated that a more complete
documentation would have eased the task.
One programmer suggested to divide
onResume() on two different callbacks, in a similar
way to the Android platform: one callback for the
first time the application is put on the screen, and
another for when the application is resumed from
paused. For this developer this would make the code
easier to read and would give programmers an easy
way to determine if the application was being put on
the display for the first time.
Another programmer suggested that the
releaseMe() callback could also be available from
the paused state (currently it is only available from
the resumed state). This would allow applications to
unload themselves if an error occurs while paused.
Overall, however, all programmers stated that it
was easy or very easy to create an application for
our public display system.
8 CONCLUSIONS
We have presented a new run-time life-cycle model
for public display applications that allows a better
resource management for display systems that have
to handle a high number of independent
applications. The model allows applications to load
their resources before they are displayed, allows
applications to transition and terminate gracefully,
allows rapid pausing and resuming, and allows
applications to request and relinquish display time.
We have implemented this model as a Google
Chrome Extension where each application is
assigned a browser tab. Our implementation
manages the life-cycle of each application
determining which tab should be displayed at any
time. We support three types of applications:
foreground, background, and legacy applications.
Our system provides a priority mechanism that
allows display owners to control which applications
can be interrupted by which applications.
Our tests with this system have revealed some
issues regarding the user experience when
applications are paused very near their end, and
when they are interrupted for a long time. The best
approach to deal with these issues is still an open
question that we plan to research in the future.
Our system is, to the best of our knowledge, the first
to specifically address the problem of resource
management within a multi-application public
display system. We believe this line of research can
result in more efficient public display systems that
provide a better user experience. Our system is
available as an open-source project at (Cardoso,
2014a).
ACKNOWLEDGEMENTS
This paper was financially supported by the
Foundation for Science and Technology — FCT —
in the scope of project PEst-OE/EAT/UI0622/2014.
A “work-in-progress” version of this work has been
presented in the ICIW 2014 conference (Perpétua,
Cardoso, and Carlos C. Oliveira, 2014).
REFERENCES
Cardoso, J. C. S. (2014a). A Google Chrome based public
display application scheduler. Retrieved from
https://code.google.com/p/public-display-scheduler/
Cardoso, J. C. S. (2014b). An Interaction Abstraction
Toolkit for Public Display Applications. University of
Minho. Retrieved from http://figshare.com/articles/
An_interaction_abstraction_toolkit_for_public_displa
y_applications/920152.
Clinch, S., Davies, N., Friday, A., and Clinch, G. (2013).
Yarely: a software player for open pervasive display
networks. In Proceedings of the 2nd ACM
International Symposium on Pervasive Displays (pp.
25–30). ACM. doi:10.1145/2491568.2491575.
Davies, N., Langheinrich, M., Jose, R., and Schmidt, A.
(2012). Open Display Networks: A Communications
Medium for the 21st Century. Computer, 45(5), 58–
64. doi:10.1109/MC.2012.114.
Elhart, I., Langheinrich, M., Memarovic, N., and
Heikkinen, T. (2014). Scheduling Interactive and
Concurrently Running Applications in Pervasive
Display Networks. In Proceedings of The
International Symposium on Pervasive Displays -
PerDis ’14 (pp. 104–109). New York, New York,
USA: ACM Press. doi:10.1145/2611009.2611039.
Lindén, T., Heikkinen, T., Ojala, T., Kukka, H., and
Jurmu, M. (2010). Web-based Framework for
Spatiotemporal Screen Real Estate Management of
Interactive Public Displays, 1277–1280.
Perpétua, A., Cardoso, J. C. S., and Carlos C. Oliveira.
(2014). A Runtime Lifecycle for Interactive Public
Display Applications. In Proceedings of The Ninth
International Conference on Internet and Web
Applications and Services - ICIW 2014 (pp. 72–75).
Paris, France: IARIA. Retrieved from
http://www.thinkmind.org/index.php?view=articleand
DesignandImplementationofaNewRun-timeLife-cycleforInteractivePublicDisplayApplications
13