Skip to content

Repository files navigation

PersonalPlaceNotebook

Using Google Places API, this Android app lets you select, save, edit, and retrieve a location on a map (with remarks) and store it in SQLite. Requires Google Play Services and an API key. Originally an Android Studio project (2017), ported to Kotlin.

alt text alt text alt text alt text alt text alt text

API key setup (required)

Google Maps / Places keys must not live in source control. The build injects one key at compile time.

  1. Create or open a key in Google Cloud Console with Maps SDK for Android and Places API enabled.
  2. Restrict the key (Android apps → package com.example.personalplacenotebook + your debug/release SHA-1).
  3. Put the key in local.properties (gitignored):
GOOGLE_MAPS_API_KEY=your_key_here

Or set the GOOGLE_MAPS_API_KEY environment variable.

  1. See local.properties.example for a template. Sync / rebuild after changing the key.

Manifest Maps metadata and Kotlin Places.initialize(...) both use the build-generated R.string.google_api_key.

If a key was ever committed publicly, rotate it in Cloud Console and update only local.properties.

Emulator setup: after wipe/cold boot, set a fix via ⋯ → Location → Set Location (or adb emu geo fix <lng> <lat>); once a fix is available the app keeps Maps’ default camera covered until it centers on device GPS.

Build

./gradlew :app:assembleDebug

About

Personal Place Notebook — Android map notebook: drop pins or pick Places, add remarks, and save everything offline in SQLite. Kotlin. Maps & Places APIs

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages