Page 662 - 2
P. 662

} catch (IOException e) {
                        e.printStackTrace();
                    }


                    return mTotalValue;
                }
            @Override
                public void run() {
                    super.run();
                    if (android.os.Build.VERSION.SDK_INT > 9) {
                        StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().bu
            ild();
                        StrictMode.setThreadPolicy(policy);
                    }
                    mWeatehr = GetOpenWeather(lon, lat);
                    mContext.handler.sendEmptyMessage(mContext.THREAD_HANDLER_SUCCESS_INFO);
                    //Thread  작업 종료, UI    작업을 위해 MainHandler      에 Message   보냄     }
                }


            }




            package com.example.jbts201605.today_weather;


            /**
             * Created by JBTS201605 on 2017-11-28.
             */


            public class WeatherInfo {
                String weather_Day;
                String weather_Name;
                String weather_Number;
                String weather_Much;
                String weather_Type;
                String wind_Direction;
                String wind_SortNumber;
                String wind_SortCode;
                String wind_Speed;
                String wind_Name;
                String temp_Min;
                String temp_Max;
                String humidity;
                String clouds_Value;
                String clouds_Sort;
                String clouds_Per;


                                                         - 662 -
   657   658   659   660   661   662   663   664   665   666   667