android - Is Fused Location Provider good choice? -


i developing application want use fused location provider. have doubts, , couple of questions.

  1. when gps off , set priority high, mean gps automatically turned on, or not?
  2. can set updatelocation fused provider high priority on demand save battery @ least little bit?
  3. how can know fused provider using (is gps or network provider)? , finally
  4. is fused provider best choice android location? there negative points it?

what opinion? in advance.

when gps off , set priority high, mean gps automatically turned on, or not?

no, not turned on automatically. if use settingsapi, prompt dialog user , gives information gps must turned on. if user accepts it, gps active automatically. check settingsapi

how can know fused provider using (is gps or network provider)

if use fused provider api settingsapi properly. make adequate required settings current location request.

is fused provider best choice android location? there negative points it?

in opinion, before fused provider must deal directly providers(gps, network) fused asks you, "how accurate locations wanna receive ?"


Comments

Popular posts from this blog

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -