requestlocationupdates参数的问题,ioslocationupdates
requestLocationUpdates("gps", 1000L, 0.0F, this.c),第一个参数不是LocationManager.NETWORK_PROVIDER和LocationManager.GPS_PROVIDER吗,这里的“gps”是什么意思?
解决方案
静态String常量,对应的值为“gps”,查看帮助文档吧
/topics/20180204/188792.htmlwww.zrccd.nettrue/topics/20180204/188792.htmlTechArticlerequestlocationupdates参数的问题,ioslocationupdates requestLocationUpdates("gps",1000L,0.0F,this.c),第一个参数不是LocationManager.NETWORK_PROVIDER和LocationManager.GPS_PROVIDER吗,这里的“gps”是什么意思? 解决方...
用户评论