实现像OlaCabs Android应用谷歌搜索的位置 [英] Implement google location search in android app like OlaCabs

查看:224
本文介绍了实现像OlaCabs Android应用谷歌搜索的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经实现谷歌位置搜索像OlaCabs应用程序,但它的没有那么快作为OlaCabs do.Reason搜索背后却是我需要打一个REST API(的谷歌广场API )来查找地点按文本搜索。我注意到,在olacab应用有显示一些文本的搭载谷歌(下面请看屏幕)。所以我只是想知道:

1.Is有由谷歌为Android提供任何API,而不是REST API?

2。如果使用一些付费的谷歌搜索API,那么它是什么,形成我哪里可以买到它OlaCaps?


解决方案

  1. 您似乎在寻找谷歌商家信息自动填充API


  2. 大多数谷歌的API都是免费的,直到一些礼貌的限制(每个API不同),之后支付。礼貌限制是更高,如果你给你的信用卡信息。尽管如此,如果你超出限时免费,你应该考虑为他们支付。


I have implemented google location search like OlaCabs app but it is not as fast in searching as OlaCabs do.Reason behind it is I need to hit a rest api (Google Place api) to find locations as per text search. I noticed that in olacab app there is some text showing "powered by Google"(Look screen below).So I just want to know:

1.Is there any api provided by google for android rather than rest api ?

2.If OlaCaps using some paid google search API then what is it and form where can I buy it?

解决方案

  1. You seem to be looking for Google Places Autocomplete API

  2. Most of Google APIs are free till some courtesy limit (different for each API) and paid afterwards. Courtesy limits are higher if you have given your credit card info. Still if you are beyond free limit, you should consider paying for them.

这篇关于实现像OlaCabs Android应用谷歌搜索的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆