11 Commits

Author SHA1 Message Date
Enrique López Mañas
f4654e60a2
feat: Data-Driven styling samples (#1771)
* fix: import rememberMarkerState and use the marker state correctly

* feat: dataset styling Kotlin samples

* feat: added DataDrivenBoundariesActivity.kt

* feat: added DataDrivenBoundariesActivity

* feat: added documentation

* feat: added header

* chore: changed MY_MAP_ID to DEMO_MAP_ID

* feat: moved data files to raw

* feat: added DataDrivenBoundariesActivity

* feat: removed unused files

* feat: map id

* chore: replace System.out.println with Log.d

* feat: added region tags

* feat: added different set of DDS

* feat: added different set of DDS

* feat: replacing files

feat: replacing files

* feat: replacing files

* feat: compileSdk 35

* feat: compileSdk 35

* chore: updated README file

* feat: trying to force different datasets

* feat: updated samples

* feat: Add data-driven styling for datasets

This commit introduces data-driven styling for datasets in the ApiDemos application.

The following changes were made:

Added a custom Application class (ApiDemoApplication) to check for the presence and validity of the API key during startup.
Added a new data structure (DataSet) to hold information about each dataset, including its label, dataset ID, location, and styling callback.
Updated the DataDrivenDatasetStylingActivity to use the new data structure and styling callbacks.
Rename the dataset input files to better reflect there contents.

* fix: moves the dataset ids to the secrets.properties file

* feat: significant rewrite to of DataDrivenDatasetStylingActivity

* Makes the app look better on full screen with a cutout
* Uses material elements
* Switch to using secrets for the data set ids
  * more of a convenience to prevent having to remove the ids when submitting
* moves dataset data files to common area since they are not used directly by the app
* Detailed instructions for uploading the data to console (WIP)

* fix: exports the data driven styling activities so they can be run directly

* feat: added header

* feat: change ubuntu-latest

* feat: change ubuntu-latest

* feat: change ubuntu-latest

---------

Co-authored-by: dkhawk <107309+dkhawk@users.noreply.github.com>
2025-02-13 15:37:43 -07:00
Enrique López Mañas
be0a71f10c
chore: replace the GMS folder with main (#1767)
* chore: replace the GMS folder with main

* chore: headers

* feat: change build command
2024-08-26 15:38:26 -06:00
Enrique López Mañas
42f3887bac
feat: tooling modernization (#1753)
* feat: tooling modernization

* chore: headers

* chore: headers

* feat: tooling modernization

* removed script
2024-08-20 14:33:51 -06:00
Enrique López Mañas
e6f8b8a913
feat: updated targetSdk and compileSdk (#1428)
* feat: updated targetSdk and compileSdk

* docs: added licenses

* docs: excluded markdown files from header check
2023-12-06 13:20:48 -08:00
Enrique López Mañas
b20987b9c3
chore(dependencies): general update of dependencies (#1107)
* chore(dependencies): general update of dependencies

* doc: updated API level for WearOS

* chore: updated API level for WearOS

* chore: moved namespace to Gradle file

Co-authored-by: Angela Yu <5506675+wangela@users.noreply.github.com>
2022-12-20 13:50:58 -08:00
Chris Arriola
2ab19b7e0d
feat: Using local.properties to provide API key (#398)
* feat: Using local.properties to provide API key instead of secure.properties.

* Remove redundant declaration in main AndroidManifest.xml

* Migrate ApiDemos - Kotlin to use local.properties.

* Update README for tutorials.

* Genericize.

* Remove references to secure.properties.

* s/master/main
2020-11-25 13:38:00 -08:00
Louis CAD
f4e66de6ff
fix: Fix spelling in Kotlin README (#283) 2020-08-28 10:12:25 -07:00
Chris Arriola
7768691408
docs: Update README on how to provide GMP API Key. (#248)
* docs: Update README on how to provide GMP API Key.

* fix references.

* Update reference.

* Update string.

* Update references.
2020-06-17 09:47:42 -07:00
Chris Arriola
c26ca13366 docs: Adding note about product flavors. 2020-06-12 15:14:11 -07:00
Sean Barbeau
a972bafebc
feat: Get Maps API key from unversioned file instead of resource - kotlin (#189)
New process to add your own Google Maps API key:

1. [Get a Maps API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key)
1. Create a file in the `ApiDemos/kotlin/app` directory called `secure.properties` (this file should *NOT* be under version control to protect your API key)
1. Add a single line to `ApiDemos/kotlin/app/secure.properties` that looks like `MAPS_API_KEY=YOUR_API_KEY`, where `YOUR_API_KEY` is the API key you obtained in the first step
1. Build and run
2020-05-07 08:06:11 -07:00
Bella Mangunsong
ae45ead8b2 started the Kotlin ApiDemos project and created menu system 2018-02-06 10:19:34 +11:00