java - Force GPS to come on -


i asked question (why map marker lurch around map) yesterday. 1 thing noticed today activity uses locationmanager, not map gps icon (satalite dish beaming signals up) in status tray. activity has map fragment , uses locationmanager not gps icon in tray. copied , pasted location manager code 1 activity other.

why gps come on times , not others?

greg

it depend on global gps setting - if it's globally on, using locationmanager in activity\fragment fire "satellite dish". if gps globally switched off - using locationmanager not fire.

the reason gps huge power consumerist, , allowing run without clear user decision switch on drain device battery extremely quickly.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -