Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/193.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google Places API Web服务vs Google Places API for Android_Android_Autocomplete_Google Places Api - Fatal编程技术网

Google Places API Web服务vs Google Places API for Android

Google Places API Web服务vs Google Places API for Android,android,autocomplete,google-places-api,Android,Autocomplete,Google Places Api,对于位置,建议使用哪一个作为AutoCompleteText googleplacesapiwebservice或googleplacesapiforandroid 哪一个提供了最佳结果?您可以使用其中一个,它们都提供了自动完成结果,尽管您需要将结果连接到一个自动完成文本视图 如果您想使用提供widget()的库,请查看(我是开发人员)。使用API密钥进行设置后,您可以向布局中添加Workplaces API autocomplete,如下所示: <net.sf.sprockets.wid

对于位置,建议使用哪一个作为
AutoCompleteText

googleplacesapiwebservice
googleplacesapiforandroid


哪一个提供了最佳结果?

您可以使用其中一个,它们都提供了自动完成结果,尽管您需要将结果连接到一个
自动完成文本视图

如果您想使用提供widget()的库,请查看(我是开发人员)。使用API密钥进行设置后,您可以向布局中添加Workplaces API autocomplete,如下所示:

<net.sf.sprockets.widget.GooglePlaceAutoComplete
    android:id="@+id/place"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>


您能否详细说明使用autocomplete需要什么?你想实现什么样的功能?自动完成Google places