i developing app in android reports location server, , wondering implement new released fused location api, made google. testing it, indoors , setpriority(locationrequest.priority_high_accuracy) instantly takes networks providers location. so, question is, see google in few seconds determine gps not option? know gps provider doesn't works indoors, in office (it takes average of 10 secs) works. thanks
well library not open-source, i'm sure can agree on how describe above:
if gps provider disabled, or if signal weak, or if fix takes long, returns last known location and/or network provider's location.
seems reasonable. i guess network provider serves fallback gps provider in priority_high_accuracy if gps not satisfying.
edit
actually, documentation says:
priority_high_accuracy
this return finest location available.
it not only use gps or prioritize gps @ all. return finest location, not gps, @cyrixmorten pointed out: in urban areas, wifi spots more accurate.
Comments
Post a Comment