在ArcGIS API for Android的10.2.2版本之后已经不用LocationService这个类了,取而代之的是LocationDisplayManager类。
在线学习文档:
https://developers.arcgis.com/android/guide/directions-and-routing.htm
其中,示例代码应该是比较早的版本,里面有一个方法:
// Get the location service and start reading location. Don't auto-pan
//获取位置服务,并开始获取位置。不要自动平移到中心地位(不要将自己的位置作为地图中心位置显示)
而在网页中提示使用新的方法:

在LocationDisplayManager所在包com.esri.android.map
方法:
1.getAccuracySymbol()用符号来表示定位精度
2.getAutoPanMode()查看locationDisplayManager.AutoPanMode当前值是否正在被使用
3.getCourseSymbol()
4.getDefaultSymbol()
5.getHeadingSymbol()
6.getLocation()
7.getLocationAcquiringSymb
8.getLocationListener()
9.getNavigationPointHeight
10.getOpacity()
11.getPingSymbol()
12.getPoint()
13.getWanderExtentFactor()
14.isAccuracyCircleOn()
15.isAllowNetworkLocation()
16.isShowLocation()
17.isShowPings()
18.isStarted()
19.isSymbolFound(float x,float y,int tolerance)
20.isUseCourseSymbolOnMovem
21.pause()
22.resume()
23.setAccuracyCircleOn(boolean accuracyCircleOn)
24.setAccuracySymbol(FillSymbol accuracySymbol)
25.setAllowNetworkLocation(boolean allowNetworkLoaction)
26.setAutoPanMode(LocationDisplayManager.AutoPanMode autoPanMode)
27.setCourseSymbol(MarkerSymbol courseSymbol)
28.setDefaultSymbol(MarkerSymbol defaultSymbol)
29.setHeadingSymbol(MarkerSymbol headingSymbol)
30.setLocationAquiringSymbo
31.setLocationListener(LocationListener locationListener)
32.setNavigationPointHeight
33.setOpacity(float opacity)
34.setPingSymbol(MarkerSymbol pingSymbol)
35.setShowLocation(boolean showLocation)
36.setShowPings(boolean showPings)
37.setUseCourseSymbolOnMove
38.setWanderExtentFactor(float wanderExtentFactor)
39.start()
40.stop()