3 ms·
> Your GPS location is useful, but you need to convert it to a named location to get the weather. Why would any app need a named location? Seems trying to matc
by acchow 13y ago
> Your GPS location is useful, but you need to convert it to a named location to get the weather.
Why would any app need a named location? Seems trying to match a string is way harder than finding the nearest weather data by coordinates...
- nl 13y agoIn those cases, doesn't querying by location sharing your location?
- sharpneli 13y agoUnless all the weather data from pretty much everywhere is streamed constantly to your phone. Then you can do the query by location effectively offline.
- fidotron 13y agoGoogle aren't providing the weather APIs. The problem is using Google Play Services for location instead of GPS (the satellites).
- nl 13y agoGoogle Play Location Services are backed with GPS and/or network location(!?) It's just a wrapper that has some nice functionality around trying to preserve battery use by sharing location requests between the multiple applications that need it. See [1] for the details. Here is a useful quote: Applications cannot specify the exact location sources, such as GPS, that are used by the LocationClient. In fact, the system may have multiple location sources (providers) running and may fuse the results from several sources into a single Location object. How do you think Google works out your location otherwise? [1] https://developer.android.com/reference/com/google/android/gms/location/LocationRequest.html https://developer.android.com/reference/com/google/android/g...