Noman
Noman

Reputation: 4109

I want to get weather update in android

What i have: currently my app is telling me my current location (coordinates + name).

What i want: To get the weather update of my current location. and i want to update whenever my location is changed.

i have tried a tutorial but that was too much complex for me.

Upvotes: 0

Views: 2118

Answers (4)

beddamadre
beddamadre

Reputation: 1603

Try Metwit weather API.

It's simply to use, what do you need is only a lat, lng and a GET request. If you can implement them client-side: 200 request/day (ip based throttling) no authentication required. Worldwide coverage, JSON and REST compliant.

Here the documentation of the weather resource.

Disclamer: I own this API.

Upvotes: 0

Zhenghong Wang
Zhenghong Wang

Reputation: 2127

I have created a sample project with my own Yahoo weather api wrapper.
You can find it here.
https://github.com/zh-wang/YWeatherGetter4a

Upvotes: 1

Suman
Suman

Reputation: 4251

To my knowledge you need a server support for the same.
I saw the tutorial, which parses the HTML page in "Beginning Android".
If you want that to be in specified format, then you need server support. Try searching for free server providers.

Upvotes: 1

Sanil
Sanil

Reputation: 11

Use google weather API, you will get a XML response

Replace the city-name placeholder with the city detected http://www.google.co.uk/ig/api?weather=

Upvotes: 1

Related Questions