KillerInk / FreeDcam

FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs
GNU General Public License v2.0
295 stars 44 forks source link

No location information in images #110

Open mvglasow opened 4 years ago

mvglasow commented 4 years ago

To reproduce:

  1. Ensure Geo-Tag Location is on.
  2. (Optional) Start an app which uses GPS in the background, to make sure we are constantly listening for location updates.
  3. Go outside and start snapping pictures in interval mode.

Expected result:

Geo-tagged pictures, at least when another GPS app has been active for some time

Actual result:

No location information in pictures, even with another GPS app running in the background (and having a fix) for several hours.

Environment:

Further information:

Luckily I had a GPS trace and was able to geotag the images afterwards. If you know it, there’s a workaround, but this behavior is annoying if you’re not expecting it.

KillerInk commented 4 years ago

yes there is something wrong. also freedcam forget thats it was turned on. looks like it did not survive last rework. but you can check if it have a lock. pull down the navbar and if you see the gps symbol it get applied to the img.

mvglasow commented 4 years ago

In that case, I did have a fix, as another app on the device was recording a GPS trace. Also, the device was mounted on the dash of my car and shooting for several hours non-stop (and yes, GPS gets through my windshield).

Just ran a quick test with 70ffaf20: FreeDCam registers for location updates when shooting in interval mode, it just appears that it is not processing the data it receives properly. (I didn’t wait to get a fix this time.)

KillerInk commented 4 years ago

dont know works here as it should. if it have a fix, getLastKnownLocation returns the locationdata. after that the location gets updated every minute and if you moved 15meters. requestLocationUpdates

https://github.com/KillerInk/FreeDcam/blob/f19d59a515e17227b6bc5b51a687f6701b19e169/app/src/main/java/freed/utils/LocationManager.java#L73-L94

our use cases are different. i mainly use it to shot startrails or landscapes in a fix position. never thought someone would use it that way and need realtime updates.

mvglasow commented 4 years ago

No idea why it isn’t getting picked up, just some thoughts: