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

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -