używam WebClient
aby pobrać dane yahoo na Windows Phone 8 i Android HttpClient Z WebClient mogę zrobićAlternatywa WebClient dla Windows 8?
WebClient client = new WebClient();
client.DownloadStringCompleted += new DownloadStringCompletedEventHandler(client_DownloadStringCompleted);
client.DownloadStringAsync(url);
po wysłaniu zdarzenia;
StringReader stream = new StringReader(e.Result)
XmlReader reader = XmlReader.Create(stream);
reader.ReadToFollowing("yweather:atmosphere");
string humidty = reader.MoveToAttribute("humidity");
ale w Windows 8 RT nie ma czegoś takiego.
Jak mogę pobrać następujące dane? >http://weather.yahooapis.com/forecastrss?w=2343732&u=c
Czy obejrzałeś 'HttpClient'? –