This is an example Android Application that permits to manage gyroscope and light sensor. It is made up from three (3) activity: main, second and third. Moreover, an async HTTP GET is implemented with loop library. The mangare sensor is implemented with Model-View-Controller design patter.
Import the code from GitHub, using two approaches:
- download and extract the code in a specific folder. Open Android Studio and close if a project is opened. When the first windows is opened select Import Project -> Gradle project.
- import the code from GitHub repository. Choose Import Project From -> Select GitHub.
Model-View-Controller design pattern
This code is developed as an example for the seminar of programming languages at University of Geneva.