Android Speedometer (Needle Gauge)

Mark Manickaraj picture Mark Manickaraj · Sep 16, 2011 · Viewed 36.2k times · Source

Creating a simple app that calculates the speed your going and displays it in a speedometer graphic. I can do all the speed calculations, gps calculations etc.. but i am not too sure about the animation. Does anyone have any good tutorials or examples on needle gauges other than the thermometer example out there?

Answer

ntoskrnl picture ntoskrnl · Feb 28, 2014

I know, the post is quite old. But I had the same situation: there is no a good control for representing speed. I guess many people are facing this.

I've implemented SpeedometerView myself: a simple speedometer with needle and colored value ranges. Feel free to download!

https://github.com/ntoskrnl/SpeedometerView

enter image description here

This control was used in my app CardioMood.

The code is not optimized, but works. Enjoy!