BetterWeather icon indicating copy to clipboard operation
BetterWeather copied to clipboard

Find a location not working

Open benqqq opened this issue 8 years ago • 8 comments

I had not changed the manual location setting and it worked fine for a long time. However, after I changed the location setting to "Automatic", "Find a location" not work anymore. It doesn't show drop down location suggestions while I am input characters.

benqqq avatar Sep 02 '16 06:09 benqqq

I see this same issue as well on all of my devices that have updated to Android 7.0. I'm not able to manually select a location.

mmirg avatar Sep 05 '16 13:09 mmirg

Hey, so I finally had a bit of time to check on this and I saw that Yahoo killed off another API without any warning whatsoever. This was the Geocoding API, what allows people to type a place and get the coordinates.

Now the bad news is that their "replacement" API doesn't work that great, and I couldn't find any other free geocoding service.

I'll try and look at solutions for this but since the app is free my options are pretty limited. I also have really little time I can use to work on this app and it's already been 2 weeks since it stopped working. I fear that by the time I can get it working again I won't have any users left (since what's the point in keeping a weather app that doesn't show you the weather, for more than 2 weeks).

I'll try and keep this issue updated if I can get something done.

MarcDufresne avatar Sep 05 '16 14:09 MarcDufresne

Thanks for your working. It's a really nice software. I look forward to your good news!

benqqq avatar Sep 06 '16 04:09 benqqq

I had some time to work on this during the weekend and I have been able to replace Yahoo! geocoding service with Place Autocomplete from Google Android APIs. The weather is now working as intended with both Yahoo! Weather and OpenWeatherMap.

The only downside is that I'm not able to figure out the location name from the current location so it won't be shown anymore to people using Automatic location. Users who enter their location manually are not affected, as I use the value entered by them when displaying. This is due to Place Autocomplete being able to get coordinates from a place name but not the opposite.

There is still work to be done but it's getting there. I will update this issue again later.

MarcDufresne avatar Sep 12 '16 13:09 MarcDufresne

Thanks for the update Marc. It seems convoluted, but if you can get coordinates or lat/long from sensors, could it be possible to use either the maps reverse lookup API or Place Search to get details? I apologize for the relatively unhelpful comment, I'd ideally want to submit a pull request, but since I wouldn't be able to get to it soon I thought I might make the suggestion.

mmirg avatar Sep 14 '16 00:09 mmirg

The Place Search API seems to be part of the same service as Place Autocomplete so it is probably free. I'll look into it, thanks!

MarcDufresne avatar Sep 14 '16 13:09 MarcDufresne

Has this update been published MarcDufresne?

flipsticks avatar Apr 04 '17 09:04 flipsticks

Is this project still supported/maintained? I've got a LG G3 with Android 4.4.2 and I can't get betterweather to work at all. Keeps giving me an API error.

simonsaysforcepush avatar Jun 02 '17 19:06 simonsaysforcepush