Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
com.akaver.sportmap
SportMap-Android
Commits
c10f2e4c
Commit
c10f2e4c
authored
Apr 21, 2020
by
Andres Käver
Browse files
fixes
parent
849e9119
Changes
3
Hide whitespace changes
Inline
Side-by-side
.idea/.name
0 → 100644
View file @
c10f2e4c
SportMap
\ No newline at end of file
app/src/main/java/com/akaver/sportmap/C.kt
View file @
c10f2e4c
...
...
@@ -32,8 +32,10 @@ class C {
const
val
REQUEST_PERMISSIONS_REQUEST_CODE
=
34
const
val
REST_BASE_URL
=
"https://sportmap.akaver.com/api/v1.0/"
const
val
REST_USERNAME
=
"akaver@akaver.com"
const
val
REST_PASSWORD
=
"Kala.maja2020"
//const val REST_USERNAME = "akaver@akaver.com"
//const val REST_PASSWORD = "Kala.maja2020"
const
val
REST_USERNAME
=
"USE YOUR OWN"
const
val
REST_PASSWORD
=
"USE YOUR OWN"
const
val
REST_LOCATIONID_LOC
=
"00000000-0000-0000-0000-000000000001"
const
val
REST_LOCATIONID_WP
=
"00000000-0000-0000-0000-000000000002"
...
...
app/src/main/java/com/akaver/sportmap/LocationService.kt
View file @
c10f2e4c
...
...
@@ -429,7 +429,7 @@ class LocationService : Service() {
distanceCPDirect
=
0f
distanceCPTotal
=
0f
distanceCPTime
=
0
saveRestLocation
(
locationCP
!!
,
C
.
REST_LOCATIONID_
W
P
)
saveRestLocation
(
locationCP
!!
,
C
.
REST_LOCATIONID_
C
P
)
showNotification
()
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment