To design user interface Figma was used.
Compass functionalities:
- displays S,E,N,W directions
- asks for permission to use location
- shows current latitude and longitude
- gives ability to enter destination coordinates
- shows number of kilometres far from destination
Tested on:
- physical devices:
Nokia 6 TA-1021, 1080x1920 px (5.5") 401ppi Android 9 (API level 28)
- emulators:
Pixel 3 Android 11 (API level 30)
Java.com.michalska.compass:
- base
- feature
- repo
- utils
.com.michalska.compass(androidTest):
- TO DO
It is not perfect. To improve code quality un future: refactor MVP pattern, change variables and functions names to be more clear, add more classes.
Architecture design used - MVP
Kotlin 1.4.21 usage
minSdkVersion 21
targetSdkVersion 30
compileSdkVersion 30
TO DO
tests:
- Mockito
- Junit 4
ui:
- Material Design
listed here