实例介绍
该Demo运用百度地图,进行对附近的地址进行poi检索 并可输入关键词进行检索地址
【实例截图】
【核心代码】
BaiduMapDemo
└── BaiduMapDemo
├── app
│ ├── app.iml
│ ├── build
│ │ ├── generated
│ │ │ ├── mockable-android-16.v3.jar
│ │ │ └── source
│ │ │ ├── buildConfig
│ │ │ │ ├── androidTest
│ │ │ │ │ └── debug
│ │ │ │ │ └── baidumapsdk
│ │ │ │ │ └── demo
│ │ │ │ │ └── test
│ │ │ │ │ └── BuildConfig.java
│ │ │ │ └── debug
│ │ │ │ └── baidumapsdk
│ │ │ │ └── demo
│ │ │ │ └── BuildConfig.java
│ │ │ └── r
│ │ │ ├── androidTest
│ │ │ │ └── debug
│ │ │ │ └── baidumapsdk
│ │ │ │ └── demo
│ │ │ │ └── test
│ │ │ │ └── R.java
│ │ │ └── debug
│ │ │ └── baidumapsdk
│ │ │ └── demo
│ │ │ ├── Manifest.java
│ │ │ └── R.java
│ │ ├── intermediates
│ │ │ ├── assets
│ │ │ │ └── debug
│ │ │ │ ├── marker1.png
│ │ │ │ ├── marker2.png
│ │ │ │ └── marker3.png
│ │ │ ├── blame
│ │ │ │ └── res
│ │ │ │ └── debug
│ │ │ │ ├── multi-v2
│ │ │ │ │ ├── debug.json
│ │ │ │ │ └── values.json
│ │ │ │ └── single
│ │ │ │ └── debug.json
│ │ │ ├── classes
│ │ │ │ └── debug
│ │ │ │ └── baidumapsdk
│ │ │ │ └── demo
│ │ │ │ ├── AroundPoiAdapter$RecordHolder.class
│ │ │ │ ├── AroundPoiAdapter.class
│ │ │ │ ├── BaiduMapUtilByRacer$1.class
│ │ │ │ ├── BaiduMapUtilByRacer$2.class
│ │ │ │ ├── BaiduMapUtilByRacer$GeoCodeListener.class
│ │ │ │ ├── BaiduMapUtilByRacer$GeoCodePoiListener.class
│ │ │ │ ├── BaiduMapUtilByRacer$LocateListener.class
│ │ │ │ ├── BaiduMapUtilByRacer$MyGeoCodeListener.class
│ │ │ │ ├── BaiduMapUtilByRacer$MyLocationListenner.class
│ │ │ │ ├── BaiduMapUtilByRacer$MyPoiSearchListener.class
│ │ │ │ ├── BaiduMapUtilByRacer$MySuggestionListener.class
│ │ │ │ ├── BaiduMapUtilByRacer$PoiDetailSearchListener.class
│ │ │ │ ├── BaiduMapUtilByRacer$PoiSearchListener.class
│ │ │ │ ├── BaiduMapUtilByRacer$SuggestionsGetListener.class
│ │ │ │ ├── BaiduMapUtilByRacer.class
│ │ │ │ ├── BuildConfig.class
│ │ │ │ ├── DemoApplication.class
│ │ │ │ ├── LocationBean.class
│ │ │ │ ├── LocationDemo$10.class
│ │ │ │ ├── LocationDemo$11.class
│ │ │ │ ├── LocationDemo$12.class
│ │ │ │ ├── LocationDemo$13.class
│ │ │ │ ├── LocationDemo$1.class
│ │ │ │ ├── LocationDemo$2.class
│ │ │ │ ├── LocationDemo$3.class
│ │ │ │ ├── LocationDemo$4.class
│ │ │ │ ├── LocationDemo$5.class
│ │ │ │ ├── LocationDemo$6.class
│ │ │ │ ├── LocationDemo$7.class
│ │ │ │ ├── LocationDemo$8.class
│ │ │ │ ├── LocationDemo$9.class
│ │ │ │ ├── LocationDemo.class
│ │ │ │ ├── Manifest$permission.class
│ │ │ │ ├── Manifest.class
│ │ │ │ ├── R$anim.class
│ │ │ │ ├── R$attr.class
│ │ │ │ ├── R$color.class
│ │ │ │ ├── R$dimen.class
│ │ │ │ ├── R$drawable.class
│ │ │ │ ├── R$id.class
│ │ │ │ ├── R$layout.class
│ │ │ │ ├── R$raw.class
│ │ │ │ ├── R$string.class
│ │ │ │ ├── R$styleable.class
│ │ │ │ ├── R$style.class
│ │ │ │ ├── R.class
│ │ │ │ ├── SearchPoiAdapter$CityPoiHolder.class
│ │ │ │ └── SearchPoiAdapter.class
│ │ │ ├── incremental
│ │ │ │ ├── compileDebugAidl
│ │ │ │ │ └── dependency.store
│ │ │ │ ├── compileDebugAndroidTestAidl
│ │ │ │ │ └── dependency.store
│ │ │ │ ├── debug-mergeJavaRes
│ │ │ │ │ ├── merge-state
│ │ │ │ │ └── zip-cache
│ │ │ │ │ ├── kB+Ybu39rqBDNp7F5mtLygkKpv8=
│ │ │ │ │ ├── nSqaa8Nqi8EL15rWLZ5qWzBsBGU=
│ │ │ │ │ └── NZKxSZJ12Yo9NYhx8z94Ts1+tTU=
│ │ │ │ ├── debug-mergeJniLibs
│ │ │ │ │ ├── merge-state
│ │ │ │ │ └── zip-cache
│ │ │ │ │ ├── kB+Ybu39rqBDNp7F5mtLygkKpv8=
│ │ │ │ │ ├── nSqaa8Nqi8EL15rWLZ5qWzBsBGU=
│ │ │ │ │ └── NZKxSZJ12Yo9NYhx8z94Ts1+tTU=
│ │ │ │ ├── mergeDebugAndroidTestResources
│ │ │ │ │ ├── compile-file-map.properties
│ │ │ │ │ └── merger.xml
│ │ │ │ ├── mergeDebugAssets
│ │ │ │ │ └── merger.xml
│ │ │ │ ├── mergeDebugJniLibFolders
│ │ │ │ │ └── merger.xml
│ │ │ │ ├── mergeDebugResources
│ │ │ │ │ ├── compile-file-map.properties
│ │ │ │ │ ├── merged.dir
│ │ │ │ │ │ └── values
│ │ │ │ │ │ └── values.xml
│ │ │ │ │ └── merger.xml
│ │ │ │ ├── mergeDebugShaders
│ │ │ │ │ └── merger.xml
│ │ │ │ └── packageDebug
│ │ │ │ └── debug
│ │ │ │ ├── dex-renamer-state.txt
│ │ │ │ ├── file-input-save-data.txt
│ │ │ │ └── zip-cache
│ │ │ │ ├── a1XtTLbyRGSaGgowjESnohcyKNk=
│ │ │ │ └── ewqMjv2PrXTqWRiypA1nu2s3amc=
│ │ │ ├── javaPrecompile
│ │ │ │ └── debug
│ │ │ │ └── annotationProcessors.json
│ │ │ ├── jniLibs
│ │ │ │ └── debug
│ │ │ │ └── armeabi
│ │ │ │ ├── libBaiduMapSDK_v3_1_1.so
│ │ │ │ └── liblocSDK4d.so
│ │ │ ├── manifest
│ │ │ │ └── androidTest
│ │ │ │ └── debug
│ │ │ │ ├── AndroidManifest.xml
│ │ │ │ └── output.json
│ │ │ ├── manifests
│ │ │ │ ├── density
│ │ │ │ │ └── debug
│ │ │ │ │ └── output.json
│ │ │ │ ├── full
│ │ │ │ │ └── debug
│ │ │ │ │ ├── AndroidManifest.xml
│ │ │ │ │ └── output.json
│ │ │ │ └── instant-run
│ │ │ │ └── debug
│ │ │ │ └── output.json
│ │ │ ├── res
│ │ │ │ ├── androidTest
│ │ │ │ │ └── debug
│ │ │ │ │ ├── output.json
│ │ │ │ │ └── resources-debugAndroidTest.ap_
│ │ │ │ ├── debug
│ │ │ │ │ ├── output.json
│ │ │ │ │ └── resources-debug.ap_
│ │ │ │ └── merged
│ │ │ │ └── debug
│ │ │ │ ├── anim_dialog_loading_animation.xml.flat
│ │ │ │ ├── color_selector_black_white_textcolor.xml.flat
│ │ │ │ ├── drawable-hdpi_business_head_ico.png.flat
│ │ │ │ ├── drawable-hdpi_button_down.png.flat
│ │ │ │ ├── drawable-hdpi_button_on.png.flat
│ │ │ │ ├── drawable-hdpi_button_style.xml.flat
│ │ │ │ ├── drawable-hdpi_circle_icon_box_04.png.flat
│ │ │ │ ├── drawable-hdpi_glass.png.flat
│ │ │ │ ├── drawable-hdpi_ground_overlay.png.flat
│ │ │ │ ├── drawable-hdpi_ic_launcher.png.flat
│ │ │ │ ├── drawable-hdpi_icon_en.png.flat
│ │ │ │ ├── drawable-hdpi_icon_gcoding.png.flat
│ │ │ │ ├── drawable-hdpi_icon_geo.png.flat
│ │ │ │ ├── drawable-hdpi_icon_marka.png.flat
│ │ │ │ ├── drawable-hdpi_icon_markb.png.flat
│ │ │ │ ├── drawable-hdpi_icon_markc.png.flat
│ │ │ │ ├── drawable-hdpi_icon_markd.png.flat
│ │ │ │ ├── drawable-hdpi_icon_marke.png.flat
│ │ │ │ ├── drawable-hdpi_icon_markf.png.flat
│ │ │ │ ├── drawable-hdpi_icon_markg.png.flat
│ │ │ │ ├── drawable-hdpi_icon_markh.png.flat
│ │ │ │ ├── drawable-hdpi_icon_marki.png.flat
│ │ │ │ ├── drawable-hdpi_icon_markj.png.flat
│ │ │ │ ├── drawable-hdpi_icon_st.png.flat
│ │ │ │ ├── drawable-hdpi_jian.png.flat
│ │ │ │ ├── drawable-hdpi_jian_td.png.flat
│ │ │ │ ├── drawable-hdpi_jia.png.flat
│ │ │ │ ├── drawable-hdpi_jia_td.png.flat
│ │ │ │ ├── drawable-hdpi_loading_01.png.flat
│ │ │ │ ├── drawable-hdpi_locatie_normal.png.flat
│ │ │ │ ├── drawable-hdpi_locatie_pressed.png.flat
│ │ │ │ ├── drawable-hdpi_location_tips.9.png.flat
│ │ │ │ ├── drawable-hdpi_merchants_service_comment_edit_bg.9.png.flat
│ │ │ │ ├── drawable-hdpi_next_down_.png.flat
│ │ │ │ ├── drawable-hdpi_next_.png.flat
│ │ │ │ ├── drawable-hdpi_point.png.flat
│ │ │ │ ├── drawable-hdpi_pop_mapbox.png.flat
│ │ │ │ ├── drawable-hdpi_popup_down.png.flat
│ │ │ │ ├── drawable-hdpi_popup_left.png.flat
│ │ │ │ ├── drawable-hdpi_popup_middle.png.flat
│ │ │ │ ├── drawable-hdpi_popup.png.flat
│ │ │ │ ├── drawable-hdpi_popup_right.png.flat
│ │ │ │ ├── drawable-hdpi_popup_side.png.flat
│ │ │ │ ├── drawable-hdpi_pre_down_.png.flat
│ │ │ │ ├── drawable-hdpi_pre_.png.flat
│ │ │ │ ├── drawable-hdpi_rating_bar_15_normal.png.flat
│ │ │ │ ├── drawable-hdpi_rating_bar_15_pressed.png.flat
│ │ │ │ ├── drawable-hdpi_success.png.flat
│ │ │ │ ├── drawable_rating_bar_15.xml.flat
│ │ │ │ ├── drawable_selector_bt_map_jian.xml.flat
│ │ │ │ ├── drawable_selector_bt_map_jia.xml.flat
│ │ │ │ ├── drawable_selector_ib_locate.xml.flat
│ │ │ │ ├── drawable_selector_white_middleblue_bg.xml.flat
│ │ │ │ ├── layout_activity_poisearch.xml.flat
│ │ │ │ ├── layout_mapview_location_poi_lv_item.xml.flat
│ │ │ │ ├── layout_mapview_location_poi.xml.flat
│ │ │ │ ├── raw_locations.json.flat
│ │ │ │ └── values_values.arsc.flat
│ │ │ ├── splits-support
│ │ │ │ ├── androidTest
│ │ │ │ │ └── debug
│ │ │ │ │ └── split-list.gson
│ │ │ │ └── debug
│ │ │ │ └── split-list.gson
│ │ │ └── transforms
│ │ │ ├── dexBuilder
│ │ │ │ └── debug
│ │ │ │ ├── 0.jar
│ │ │ │ ├── 10.jar
│ │ │ │ ├── 11
│ │ │ │ │ └── baidumapsdk
│ │ │ │ │ └── demo
│ │ │ │ │ ├── AroundPoiAdapter$RecordHolder.dex
│ │ │ │ │ ├── AroundPoiAdapter.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$1.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$2.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$GeoCodeListener.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$GeoCodePoiListener.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$LocateListener.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$MyGeoCodeListener.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$MyLocationListenner.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$MyPoiSearchListener.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$MySuggestionListener.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$PoiDetailSearchListener.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$PoiSearchListener.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer$SuggestionsGetListener.dex
│ │ │ │ │ ├── BaiduMapUtilByRacer.dex
│ │ │ │ │ ├── BuildConfig.dex
│ │ │ │ │ ├── DemoApplication.dex
│ │ │ │ │ ├── LocationBean.dex
│ │ │ │ │ ├── LocationDemo$10.dex
│ │ │ │ │ ├── LocationDemo$11.dex
│ │ │ │ │ ├── LocationDemo$12.dex
│ │ │ │ │ ├── LocationDemo$13.dex
│ │ │ │ │ ├── LocationDemo$1.dex
│ │ │ │ │ ├── LocationDemo$2.dex
│ │ │ │ │ ├── LocationDemo$3.dex
│ │ │ │ │ ├── LocationDemo$4.dex
│ │ │ │ │ ├── LocationDemo$5.dex
│ │ │ │ │ ├── LocationDemo$6.dex
│ │ │ │ │ ├── LocationDemo$7.dex
│ │ │ │ │ ├── LocationDemo$8.dex
│ │ │ │ │ ├── LocationDemo$9.dex
│ │ │ │ │ ├── LocationDemo.dex
│ │ │ │ │ ├── Manifest$permission.dex
│ │ │ │ │ ├── Manifest.dex
│ │ │ │ │ ├── R$anim.dex
│ │ │ │ │ ├── R$attr.dex
│ │ │ │ │ ├── R$color.dex
│ │ │ │ │ ├── R$dimen.dex
│ │ │ │ │ ├── R$drawable.dex
│ │ │ │ │ ├── R$id.dex
│ │ │ │ │ ├── R$layout.dex
│ │ │ │ │ ├── R$raw.dex
│ │ │ │ │ ├── R$string.dex
│ │ │ │ │ ├── R$styleable.dex
│ │ │ │ │ ├── R$style.dex
│ │ │ │ │ ├── R.dex
│ │ │ │ │ ├── SearchPoiAdapter$CityPoiHolder.dex
│ │ │ │ │ └── SearchPoiAdapter.dex
│ │ │ │ ├── 1.jar
│ │ │ │ ├── 2.jar
│ │ │ │ ├── 3.jar
│ │ │ │ ├── 4.jar
│ │ │ │ ├── 5.jar
│ │ │ │ ├── 6.jar
│ │ │ │ ├── 7.jar
│ │ │ │ ├── 8.jar
│ │ │ │ ├── 9.jar
│ │ │ │ └── __content__.json
│ │ │ ├── dexMerger
│ │ │ │ └── debug
│ │ │ │ ├── 0
│ │ │ │ │ └── classes.dex
│ │ │ │ └── __content__.json
│ │ │ ├── externalLibsDexMerger
│ │ │ │ └── debug
│ │ │ │ ├── 0
│ │ │ │ │ └── classes.dex
│ │ │ │ └── __content__.json
│ │ │ ├── mergeJavaRes
│ │ │ │ └── debug
│ │ │ │ ├── 0.jar
│ │ │ │ └── __content__.json
│ │ │ └── mergeJniLibs
│ │ │ └── debug
│ │ │ ├── 0
│ │ │ │ └── lib
│ │ │ │ └── armeabi
│ │ │ │ ├── libBaiduMapSDK_v3_1_1.so
│ │ │ │ └── liblocSDK4d.so
│ │ │ └── __content__.json
│ │ └── outputs
│ │ ├── apk
│ │ │ └── debug
│ │ │ ├── app-debug.apk
│ │ │ └── output.json
│ │ └── logs
│ │ └── manifest-merger-debug-report.txt
│ ├── build.gradle
│ ├── libs
│ │ ├── baidumapapi_v3_1_1.jar
│ │ └── locSDK_4.2.jar
│ ├── lint.xml
│ └── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── assets
│ │ ├── marker1.png
│ │ ├── marker2.png
│ │ └── marker3.png
│ ├── java
│ │ └── baidumapsdk
│ │ └── demo
│ │ ├── AroundPoiAdapter.java
│ │ ├── BaiduMapUtilByRacer.java
│ │ ├── DemoApplication.java
│ │ ├── LocationBean.java
│ │ ├── LocationDemo.java
│ │ └── SearchPoiAdapter.java
│ ├── jniLibs
│ │ └── armeabi
│ │ ├── libBaiduMapSDK_v3_1_1.so
│ │ └── liblocSDK4d.so
│ └── res
│ ├── anim
│ │ └── dialog_loading_animation.xml
│ ├── color
│ │ └── selector_black_white_textcolor.xml
│ ├── drawable
│ │ ├── rating_bar_15.xml
│ │ ├── selector_bt_map_jian.xml
│ │ ├── selector_bt_map_jia.xml
│ │ ├── selector_ib_locate.xml
│ │ └── selector_white_middleblue_bg.xml
│ ├── drawable-hdpi
│ │ ├── business_head_ico.png
│ │ ├── button_down.png
│ │ ├── button_on.png
│ │ ├── button_style.xml
│ │ ├── circle_icon_box_04.png
│ │ ├── glass.png
│ │ ├── ground_overlay.png
│ │ ├── ic_launcher.png
│ │ ├── icon_en.png
│ │ ├── icon_gcoding.png
│ │ ├── icon_geo.png
│ │ ├── icon_marka.png
│ │ ├── icon_markb.png
│ │ ├── icon_markc.png
│ │ ├── icon_markd.png
│ │ ├── icon_marke.png
│ │ ├── icon_markf.png
│ │ ├── icon_markg.png
│ │ ├── icon_markh.png
│ │ ├── icon_marki.png
│ │ ├── icon_markj.png
│ │ ├── icon_st.png
│ │ ├── jian.png
│ │ ├── jian_td.png
│ │ ├── jia.png
│ │ ├── jia_td.png
│ │ ├── loading_01.png
│ │ ├── locatie_normal.png
│ │ ├── locatie_pressed.png
│ │ ├── location_tips.9.png
│ │ ├── merchants_service_comment_edit_bg.9.png
│ │ ├── next_down_.png
│ │ ├── next_.png
│ │ ├── point.png
│ │ ├── pop_mapbox.png
│ │ ├── popup_down.png
│ │ ├── popup_left.png
│ │ ├── popup_middle.png
│ │ ├── popup.png
│ │ ├── popup_right.png
│ │ ├── popup_side.png
│ │ ├── pre_down_.png
│ │ ├── pre_.png
│ │ ├── rating_bar_15_normal.png
│ │ ├── rating_bar_15_pressed.png
│ │ └── success.png
│ ├── layout
│ │ ├── activity_poisearch.xml
│ │ ├── mapview_location_poi_lv_item.xml
│ │ └── mapview_location_poi.xml
│ ├── raw
│ │ └── locations.json
│ └── values
│ ├── attrs.xml
│ ├── color.xml
│ ├── dimens.xml
│ ├── strings.xml
│ └── styles.xml
├── BaiduMapsApiDemo.iml
├── build
│ └── android-profile
│ ├── profile-2018-08-20-15-38-58-045.json
│ ├── profile-2018-08-20-15-38-58-045.rawproto
│ ├── profile-2018-08-20-15-39-12-308.json
│ ├── profile-2018-08-20-15-39-12-308.rawproto
│ ├── profile-2018-08-20-15-39-41-786.json
│ ├── profile-2018-08-20-15-39-41-786.rawproto
│ ├── profile-2018-08-20-15-41-23-436.json
│ ├── profile-2018-08-20-15-41-23-436.rawproto
│ ├── profile-2018-08-21-09-11-14-146.json
│ ├── profile-2018-08-21-09-11-14-146.rawproto
│ ├── profile-2018-08-21-09-11-16-636.json
│ ├── profile-2018-08-21-09-11-16-636.rawproto
│ ├── profile-2018-09-08-10-41-45-095.json
│ ├── profile-2018-09-08-10-41-45-095.rawproto
│ ├── profile-2018-09-08-10-41-49-782.json
│ ├── profile-2018-09-08-10-41-49-782.rawproto
│ ├── profile-2018-09-08-10-56-33-944.json
│ ├── profile-2018-09-08-10-56-33-944.rawproto
│ ├── profile-2018-09-08-11-44-42-824.json
│ └── profile-2018-09-08-11-44-42-824.rawproto
├── build.gradle
├── gradle
│ └── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── import-summary.txt
├── local.properties
└── settings.gradle
121 directories, 335 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论