Chapter 5A Sample App

This chapter presents general architectural aspects of the sample HappyWalk Android HiTLCPS application and, in doing so, some of its underlying concepts and technologies, from a practical perspective. We encourage avid readers to further explore the presented technologies and solutions by complementing this presentation with material from books focusing on each of the addressed topics.

HappyWalk's base architecture will be presented, comprising an Android client application and a server-side application. Also, the technologies that will be used for the application development are briefly identified. Subsequently, the main classes that constitute this sample app will be listed and succinctly explained, both for the client side and the server side. Finally, the architectural options concerning emotion awareness will be presented and justified, and some initial implementation aspects will also be discussed.

5.1 A Sample Behavior Change Intervention App

As previously mentioned in Section 4.1.2, BCIs are therapeutic systems that focus on providing advice, support and relevant information to patients. Traditionally associated with presential therapeutic consultations, BCIs have recently begun to be delivered through the Internet and smartphones [11]. Using smartphone sensors to monitor humans with BCIs not only provides more effective feedback to help users in adapting or controlling some aspects of their behavior but also helps behavioral scientists' research. ...

Get A Practical Introduction to Human-in-the-Loop Cyber-Physical Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.