Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a location not working #33

Open
benqqq opened this issue Sep 2, 2016 · 8 comments
Open

Find a location not working #33

benqqq opened this issue Sep 2, 2016 · 8 comments

Comments

@benqqq
Copy link

benqqq commented Sep 2, 2016

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.

@mmirg
Copy link

mmirg commented Sep 5, 2016

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.

@MarcDufresne
Copy link
Owner

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.

@benqqq
Copy link
Author

benqqq commented Sep 6, 2016

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

@MarcDufresne MarcDufresne mentioned this issue Sep 6, 2016
@MarcDufresne
Copy link
Owner

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.

@mmirg
Copy link

mmirg commented Sep 14, 2016

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.

@MarcDufresne
Copy link
Owner

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!

@flipsticks
Copy link

Has this update been published MarcDufresne?

@simonsaysforcepush
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants