Compass is a sample android application which implements trivial compass functionality. It was created just as a code snippet reuse in some of my projects.
The main feature of the compass is noise filter (Low-pass filter) which make the arrow more stable in comparison to other similar applications where arrow always trembles.
You can install it from google play: https://play.google.com/store/apps/details?id=com.sevencrayons.compass
Enhancements are welcome!
Nearest changes:
- better, correct graphics
- relevant layout for different devices (tablets)
- insert an instructon about how to calibrate device sensors
Current WIP:
Compass
class refactoring (detach working with views) [DONE]- customization of place to point See dev branch for details.
So for now, if you use Compass
class in your project please consider the
Compass
from dev
branch: it's shorter and easier to integrate.
- launch Android Studio
- select Open an existing Android Studio project
- select the project folder
- select menu Run -> Run 'app'