Android Tutorial: Create a Weather App with Yahoo Weather API - Part 3 of 3

preview_player
Показать описание

Learn how to create an Android app using a third party API. In this tutorial we will be using Yahoo Weather API and will be using Object Orienter Programming Skills, dependecy injectiom, asynchronous task and others things.

In this part we finish the application and learn how to change the temprature from fahrenheit to celsius. More demos of the app are shown

Project Source:

Weather Icons by (VClouds):

Yahoo Weather API:

For more tutorials:
Рекомендации по теме
Комментарии
Автор

did exactly what u did and the app is up and running!
thanks a lot for the tutorials..helped a lot!!!

arambhjha
Автор

Great tutorial. Learned alot from you. Will subscribe and hopefully you will continue doing good tutorials that will be usefull for me and many others. Cheers!

GuitarDann
Автор

Hello, i would like to ask, if i want to pass the data, such as temperature data to the next activity, may i know which code will specify the data i can bring across?

hongmun
Автор

Not connected via geo location.it unlimited loading.Geolocation enabled but not loading

udithasampath
Автор

Hry it give me an error when i type channel . Get item

asmaao
Автор

getting a problem with resourseId...saying 'cannot find resource variable resourceId'...even after suppressing the statement as u did...plz plz help on this part...grt regards

sahilarya
Автор

Hi, thanks for this tutorial. It has helped me to understand hot yahoo weather works. But I still dont understand how te api knows which icon shoul get for each weather state. For example, how does the icon_32 that is sunny gets implemented on the code.
Thaks

cookyourweb
Автор

I'm also getting the error 'cannot find resource variable resourceId'. How do I fix this?

lildeadboy
Автор

hey phantom how can i put a search bar in here to search other locations weather?? do you have a source code for that??

alyjus
Автор

it works perfect.but i have a quick question.could we set the location dynamically on screen using a button without doing it on the program?coud u please help me out with this?

roshmithaparvathaneni
Автор

i keep getting a null reference error on service.refreshWeather("Austin, Tx");

void on a null object reference.
can anybody please help it would be appreciated thanx

omardotson
Автор

The app just opens and then closes for me. I followed every step, there are no errors showing. NEED HELP

menacerify
Автор

Hi! I followed this and it works perfectly. Thanks! But I have a quick question. I am getting location updates(coordinates) on my app using Googles FusedLocationAPI. Basically it detects my position and send location updates to my app, and I wanna use the coordinates to send them to yahoo. But however, I havnt figured out how to refresh the weather everytime my app refreshed my coordinates. Do you have any ideas on how I could do that? I have no problems in with yahoo API using coordinates. If I change the location string from "aCity" to "(Latitude, Longitude)" and send that string it works with yahoo api.

shaco
Автор

This is very helpful. Keep it up. When is the next part coming?

silentassasin
Автор

Kindly let us know how to take input from user and display weather of that city which was given from user..

AnamikaSingh-qcwd
Автор

hi, thanks for the tutorial.
I have a question about the refreshweather. I change the city name and make it for example "asdas"; but still result is 22 celcius or 33 etc... why did not we get error like "wrong city" ? 
thank you :)

fatihdeniz
Автор

Hi there, I want to improve my weather app. by getting weather condition that based on location by using GPS or network can you help me with this problem???

zelandklientquijano
Автор

hey brother, thanks for this tutorial! i followed these three tutorials completely but i couldn't get the same result, i got an error which is "unable to resolve host "query.yahooapis.com": no address associated with hostname " i think there is some issue in endpoint url but i follow same as you.... please guide

ziasheikh
Автор

res/drawable/0.png..
The ressource name must start with a letter.. any help please?

HamzaJyetoukoum
Автор

Hello

thank you for this great tutorial but sometimes i face the problem a toast appear with this message " weather.data open failed : ENOENT ( no such file or directory"

Regards

thameralnajadat