{"id":13642299,"url":"https://github.com/codemybrainsout/place-search-dialog","last_synced_at":"2026-01-12T09:04:01.665Z","repository":{"id":57718369,"uuid":"67740026","full_name":"codemybrainsout/place-search-dialog","owner":"codemybrainsout","description":"A place autocomplete search dialog which uses Google's places API for finding results.","archived":false,"fork":false,"pushed_at":"2017-07-28T14:00:06.000Z","size":3759,"stargazers_count":230,"open_issues_count":5,"forks_count":57,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-12-31T13:28:52.510Z","etag":null,"topics":["android","autocomplete-search-dialog","google-places","location","search"],"latest_commit_sha":null,"homepage":"","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/codemybrainsout.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-08T21:00:36.000Z","updated_at":"2025-10-05T16:44:16.000Z","dependencies_parsed_at":"2022-09-14T22:53:27.870Z","dependency_job_id":null,"html_url":"https://github.com/codemybrainsout/place-search-dialog","commit_stats":null,"previous_names":["codemybrainsout/placesearchdialog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codemybrainsout/place-search-dialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemybrainsout%2Fplace-search-dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemybrainsout%2Fplace-search-dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemybrainsout%2Fplace-search-dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemybrainsout%2Fplace-search-dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemybrainsout","download_url":"https://codeload.github.com/codemybrainsout/place-search-dialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemybrainsout%2Fplace-search-dialog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","autocomplete-search-dialog","google-places","location","search"],"created_at":"2024-08-02T01:01:29.591Z","updated_at":"2026-01-12T09:04:01.640Z","avatar_url":"https://github.com/codemybrainsout.png","language":"Java","funding_links":[],"categories":["对话框"],"sub_categories":[],"readme":"\nPlace Search Dialog\n==========\nA place autocomplete search dialog which uses Google's places API for finding results.\n\n![](preview/preview.png)\n\nThe dialog searches for locations from all around the world. To customize it, set the new location bounds using ```.setLatLngBounds(BOUNDS)```\n\n## How to use\n\n### Setup\nPlaceSearchDialog requires Places API key by Google. You can get it from [here.](https://developers.google.com/places/android-api/signup)\n\nUse the dialog as it is\n```java\n PlaceSearchDialog placeSearchDialog = new PlaceSearchDialog.Builder(this)\n                .setLocationNameListener(new PlaceSearchDialog.LocationNameListener() {\n                    @Override\n                    public void locationName(String locationName) {\n                        //set textview or edittext\n                    }\n                })\n                .build();\nplaceSearchDialog.show();\n```\n\nor Customize it accordingly\n```java\n PlaceSearchDialog placeSearchDialog = new PlaceSearchDialog.Builder(this)\n                .setHeaderImage(R.drawable.dialog_header)\n                .setHintText(\"Enter location name\")\n                .setHintTextColor(R.color.light_gray)\n                .setNegativeText(\"CANCEL\")\n                .setNegativeTextColor(R.color.gray)\n                .setPositiveText(\"SUBMIT\")\n                .setPositiveTextColor(R.color.red)\n                .setLatLngBounds(BOUNDS)\n                .setLocationNameListener(new PlaceSearchDialog.LocationNameListener() {\n                    @Override\n                    public void locationName(String locationName) {\n                        //set textview or edittext\n                    }\n                })\n                .build();\nplaceSearchDialog.show();\n```\n\nAdd this in your applications AndroidManifest.xml\n```xml\n\u003cmeta-data android:name=\"com.google.android.geo.API_KEY\"\n            android:value=\"YOUR_API_KEY\" /\u003e\n```\n\n## Installation\n\n### Gradle\nJust use it as a dependency in your app's build.gradle file\n\n```groovy\ndependencies {\n    compile 'com.codemybrainsout.placesearchdialog:placesearch:1.0.1'\n}\n```\n\n### Maven\nEnsure you have android-maven-plugin version that support aar archives and add following dependency:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.codemybrainsout.placesearchdialog\u003c/groupId\u003e\n  \u003cartifactId\u003eplacesearch\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.0\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\n## Credits\n\nThis project was initiated by **Code My Brains Out**. You can contribute to this project by submitting issues or/and by forking this repo and sending a pull request.\n\n![](http://codemybrainsout.com/files/img/logo-small.png)\n\nFollow us on:\n\n[![Facebook](http://codemybrainsout.com/files/img/fb.png)](https://www.facebook.com/codemybrainsout)\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;[![Twitter](http://codemybrainsout.com/files/img/tw.png)](https://twitter.com/codemybrainsout)\n\nAuthor: [Rahul Juneja](https://github.com/ahulr)\n\n# License\n```\nCopyright (C) 2016 Code My Brains Out\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://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,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemybrainsout%2Fplace-search-dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemybrainsout%2Fplace-search-dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemybrainsout%2Fplace-search-dialog/lists"}