Skip to content

CIT-Native-Android-Development-Course/geolocation-starter-template

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
April 7, 2024 13:24
April 7, 2024 13:06
app
April 7, 2024 13:24
April 7, 2024 13:06
April 7, 2024 13:06
April 7, 2024 13:06
April 7, 2024 13:06
April 7, 2024 13:06
April 7, 2024 13:06
April 7, 2024 13:06
April 7, 2024 13:06

Demo to Get Current Location

Instructions

To create your own project based off this repo, follow the instructions below

  1. Create a project in GCP (https://console.cloud.google.com)
  2. Enable Maps SDK and generate API key
  3. Add the API key to your local.properties file
  4. Enable Secrets Grade Plugin
    • Refer to top level build.gradle and app level build.gradle file
    • Refer to AndroidManifest.xml file
  5. Make sure to enable viewBindings and add the google dependencies
    • Refer to app level build.gradle file
  6. Review the PlacesFragment.kt file to see how the current location request works

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages