2010년 4월 14일 수요일

Weather Program

1) Class Diagram

2) Widget Images

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3) Google Weather API example

http://www.google.co.uk/ig/api?weather=london

<?xml version="1.0" ?>

- <xml_api_reply version="1">
- <weather module_id="0" tab_id="0" mobile_row="0" mobile_zipped="1" row="0" section="0">
- <forecast_information>
  <city data="London, England" />
  <postal_code data="london" />
  <latitude_e6 data="" />
  <longitude_e6 data="" />
  <forecast_date data="2010-04-14" />
  <current_date_time data="2010-04-14 05:20:00 +0000" />
  <unit_system data="SI" />
  </forecast_information>
- <current_conditions>
  <condition data="대체로 흐림" />
  <temp_f data="45" />
  <temp_c data="7" />
  <humidity data="습도: 76%" />
  <icon data="/ig/images/weather/mostly_cloudy.gif" />
  <wind_condition data="바람: 북풍, 11 km/h" />
  </current_conditions>
.
.
 

댓글 없음:

댓글 쓰기