almalence / OpenCamera

Open camera project - multi-functional camera application for android.
Other
1.11k stars 417 forks source link

Force phone's GPS to update location when taking a photo? #48

Open qzcw opened 8 years ago

qzcw commented 8 years ago

Dear developers. There are some Android phones (such as my Samsung xCover 3) that are "lazy" in updating the GPS information when taking photos, i.e. the phone doesn't refresh the new location information every time a new photo is taken, but instead will use the previous location the phone fetched, say, maybe ~15 minutes ago. It may be a method to save battery life, but the result is that if user is moving (walking, cycling, driving) and taking photos frequently the coordinates are not updated and all the photos will end up having the same GPS location with huge error in the location.

Is it possible to program OpenCamera to force GPS location update every time the app is opened or with some preset time interval while the app is running?