mardi 24 janvier 2017

best practice in reading all sensors data

I'm new into android development, and at this stage I try to mimic some functionalities from other apps (please consider the image from bellow).

For example, there is one app o google play which gives details about all the sensors from a device. I know how to read the values from any sensor and how to get a list of all the sensors, but I don't know how to take all the values from all the sensors and to display them in real time.

Are there some good practices or design patterns which can help me achieve the real-time values in an elegant manner?

enter image description here

Aucun commentaire:

Enregistrer un commentaire