<how to access phone location in Android app using...
# stackoverflow
r
how to access phone location in Android app using Kotlin My app runs on a private network in a remote location, so I'm really only interested in GPS coordinate, not WiFi assisted, but using the google play services integrated function is ok too. The rest of the app is using Jetpack Compose for graphics and it's done except for a user input box that I'd like to fill in with the current location as a default value. The user can change this. I downloaded and tried several online examples. Most did not compile. I finally typed in some code by following...