Skip to content

tangqi92/MyGooglePlaces

Repository files navigation

MyGooglePlaces

最近由于项目的原因,接触到了 Google Places 的使用与开发,学习并在项目中实现了简单的地点定位与自动补全功能。在整个实践过程中,发现除了官方文档外,网上相关的中文教程寥寥无几且质量都不高,遂决定自己写篇入门指南(其实也没多少干货啦),希望可以帮助到,有这方面需求的同学们,欢迎大家 Fork 与 Star 。

screenshot

Demo is still in development so more features will be added soon

Usage

Dependency - 依赖

  • Java Development Kit (JDK) 8 +
  • com.android.tools.build:gradle:1.3.0
  • Android SDK
    • Android SDK Build-tools 22.0.1

Build - 构建

git clone https://github.com/tangqi92/MyGooglePlaces.git

用最新的IntelliJ IDE导入工程(Import Project),然后等待IDE下载gradle和依赖包即可

This project uses the Gradle build system. To build this project, use the "gradlew build" command or use "Import Project" in Android Studio.

对了,是时候告别 Eclipse 了,因为你值得拥有更好的,赶紧投入 Android Studio 的怀抱吧:D

Download

直接下载:MyGooglePlaces-1.0.0.apk

Documentation

项目主页:Google Places for Android 入门指南

Thanks to

再次感谢:https://github.com/googlesamples/android-play-places

Contact Me

License

The MIT License (MIT)

Copyright (c) 2015 Qi Tang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.