I have looked at the source code of Open Camera and it seems that the app is using the "android.location.LocationManager" library for the location tag. In some cases, the GPS coordinates provided by this service are not available. This happens when you start the Open Camera and take a photo immediatly.
Actually, there is another way to get the location using the fused location service (see here: https://guides.codepath.com/android/Retrieving-Location-with-LocationServices-API). The location provided by this service is much faster (because it does not only use GPS but combines different signals such as cells and wifi). I am wondering if there is any reason why this service is not used in the "Open Camera". Eventually, I can modifiy the source code of the Open Camera to include this service and put it on Source Forge. Would you agree with this idea ?
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-08-15
This is exactly what I landed here searching! My old CoolPad phone's camera app had this lovely feature to save lat/long using cellular tower location. This saved battery by avoiding GPS location.
Please build this feature in OpenCamera.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have looked at the source code of Open Camera and it seems that the app is using the "android.location.LocationManager" library for the location tag. In some cases, the GPS coordinates provided by this service are not available. This happens when you start the Open Camera and take a photo immediatly.
Actually, there is another way to get the location using the fused location service (see here: https://guides.codepath.com/android/Retrieving-Location-with-LocationServices-API). The location provided by this service is much faster (because it does not only use GPS but combines different signals such as cells and wifi). I am wondering if there is any reason why this service is not used in the "Open Camera". Eventually, I can modifiy the source code of the Open Camera to include this service and put it on Source Forge. Would you agree with this idea ?
This is exactly what I landed here searching! My old CoolPad phone's camera app had this lovely feature to save lat/long using cellular tower location. This saved battery by avoiding GPS location.
Please build this feature in OpenCamera.
Thanks!