{"id":20209460,"url":"https://github.com/googlemaps-samples/android-places-demos","last_synced_at":"2025-04-06T16:15:36.948Z","repository":{"id":34204413,"uuid":"168269412","full_name":"googlemaps-samples/android-places-demos","owner":"googlemaps-samples","description":"Google Places SDK Demos for Android","archived":false,"fork":false,"pushed_at":"2024-04-15T14:03:18.000Z","size":1386,"stargazers_count":179,"open_issues_count":21,"forks_count":113,"subscribers_count":17,"default_branch":"main","last_synced_at":"2024-04-17T00:58:12.959Z","etag":null,"topics":["android","android-samples","google-maps","google-places","java","kotlin","places-sdk","samples"],"latest_commit_sha":null,"homepage":"https://developers.google.com/places/android-sdk/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googlemaps-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-01-30T02:59:53.000Z","updated_at":"2024-04-22T02:49:01.319Z","dependencies_parsed_at":"2023-11-20T15:29:50.782Z","dependency_job_id":"5b0db83e-089b-4cf0-9853-2af78b90109f","html_url":"https://github.com/googlemaps-samples/android-places-demos","commit_stats":{"total_commits":322,"total_committers":12,"mean_commits":"26.833333333333332","dds":0.5838509316770186,"last_synced_commit":"0d1b558f008ad4f6b7a8fcbec04b17ff9307ba9e"},"previous_names":["googlemaps-samples/android-places-demos","googlemaps/android-places-demos"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps-samples%2Fandroid-places-demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps-samples%2Fandroid-places-demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps-samples%2Fandroid-places-demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps-samples%2Fandroid-places-demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlemaps-samples","download_url":"https://codeload.github.com/googlemaps-samples/android-places-demos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247509238,"owners_count":20950232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-samples","google-maps","google-places","java","kotlin","places-sdk","samples"],"created_at":"2024-11-14T05:40:18.313Z","updated_at":"2025-04-06T16:15:36.920Z","avatar_url":"https://github.com/googlemaps-samples.png","language":"Java","readme":"Google Places SDK for Android Demos\n====================================\n![GitHub contributors](https://img.shields.io/github/contributors/googlemaps/android-places-demos)\n![Apache-2.0](https://img.shields.io/badge/license-Apache-blue)\n[![Discord](https://img.shields.io/discord/676948200904589322)](https://discord.gg/hYsWbmk)\n\nThis repo contains the following apps that demonstrate use of the [Google Places SDK for Android](https://developers.google.com/places/android-sdk/):\n\n1. [demo-kotlin](demo-kotlin) Kotlin demo app for the Places SDK.\n2. [demo-java](demo-java) Java demo app for the Places SDK.\n\nNote that each folder contains a distinct sample and must be imported separately. Each project also contains two Gradle product flavors:\n\n1. `gms`: Product flavor for samples using the Places SDK that uses Maps SDK for Android \n2. `v3`: Product flavor for samples using the Places SDK that uses Maps SDK V3 BETA for Android\n\nAdditionally, the [snippets](snippets) app contains code snippets used for documentation found in https://developers.google.com/places/android-sdk\n\nGetting Started\n---------------\n\nThese demos use the Gradle build system.\n\nFirst download the demos by cloning this repository or downloading an archived snapshot. (See the options on the right hand side.)\n\nIn Android Studio, use the \"Open an existing Android Studio project\", and select one of the demo directories (`demo-kotlin` or `demo-java`).\n\nAlternatively use the `./gradlew build` command to build the project directly.\n\nThe demos also require that you add your own API key:\n1. [Get an API Key](https://developers.google.com/places/android-sdk/get-api-key).\n2. Open the `local.properties` file in either demo project\n3. Add a single line to `local.properties` that looks like `PLACES_API_KEY=YOUR_API_KEY`, where `YOUR_API_KEY` is the API key you obtained in the first step. You can also take a look at `local.defaults.properties` as an example.\n4. Build and run.\n\nSupport\n-------\n\n- Stack Overflow: https://stackoverflow.com/questions/tagged/google-places-api\n\nIf you've found an error in these samples, please file an issue:\nhttps://github.com/googlemaps/android-places-demos/issues\n\nPatches are encouraged, and may be submitted according to the instructions in\nCONTRIBUTING.md.\n\nLicense\n-------\n\nCopyright 2019 Google, Inc.\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor\nlicense agreements.  See the NOTICE file distributed with this work for\nadditional information regarding copyright ownership.  The ASF licenses this\nfile to you under the Apache License, Version 2.0 (the \"License\"); you may not\nuse this file except in compliance with the License.  You may obtain a copy of\nthe License at\n\n  http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the\nLicense for the specific language governing permissions and limitations under\nthe License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglemaps-samples%2Fandroid-places-demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglemaps-samples%2Fandroid-places-demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglemaps-samples%2Fandroid-places-demos/lists"}