OpenWeatherMap works better with an application ID
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Sat, 22 Nov 2014 18:58:34 +0000 (19:58 +0100)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Sat, 22 Nov 2014 18:58:34 +0000 (19:58 +0100)
See: http://openweathermap.org/appid

app/src/main/res/xml/weather_preferences.xml

index e0244d5..81b3080 100644 (file)
             android:defaultValue="@string/weather_preferences_temperature_celsius"
             android:dependency="@string/weather_preferences_notifications_switch_key"/>
     </PreferenceCategory>
+    <PreferenceCategory android:title="@string/weather_preferences_app_id">
+        <EditTextPreference android:key="@string/weather_preferences_app_id_key"
+            android:title="@string/weather_preferences_app_id_text"
+            android:defaultValue=""
+            android:summary="">
+        </EditTextPreference>
+    </PreferenceCategory>
 </PreferenceScreen>