Tweaked UI, changed location to Milton Keynes
[Sunshine.git] / app / src / main / java / uk / me / njae / sunshine / ForecastFragment.java
index add4745fa2f11fe95f05bbab182cf0dc5179439e..7a3eedf944fed00c24ee96665fd4ff043ad28a2a 100644 (file)
@@ -60,7 +60,7 @@ public class ForecastFragment extends Fragment {
         int id = item.getItemId();
         if (id == R.id.action_refresh) {
             FetchWeatherTask weatherTask = new FetchWeatherTask();
-            weatherTask.execute("94043");
+            weatherTask.execute("2642465");
             return true;
         }
         return super.onOptionsItemSelected(item);
@@ -135,7 +135,7 @@ public class ForecastFragment extends Fragment {
                 // Possible parameters are avaiable at OWM's forecast API page, at
                 // http://openweathermap.org/API#forecast
                 final String FORECAST_BASE_URL = "http://api.openweathermap.org/data/2.5/forecast/daily?";
-                final String QUERY_PARAM = "q";
+                final String QUERY_PARAM = "id";
                 final String FORMAT_PARAM = "mode";
                 final String UNITS_PARAM = "units";
                 final String DAYS_PARAM = "cnt";