O'Reilly logo

A Practical Introduction to Human-in-the-Loop Cyber-Physical Systems by Fernando Boavida, Jorge Sá Silva, David Nunes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required