Sunday, October 25, 2015

Současná umělecká díla v krajině - mapped

As much as I like the book,it's got one major flaw - there's no map with the location of the objects, so it's a poor choice for trip planning.
So I created a custom map with mapy.cz using their custom point feature.
Initially I included names of the authors, but I quickly ran into length limitations (they store all the info in the URL and impose their own limits; a sign of poor QA, the limit to save the map is somewhat longer than the limit to load it), so there're just the names of the objects.
Here's the map.


Sunday, October 11, 2015

Disable MMS auto-retrieve in the source

Okay, so this is no rocket science, but here's how to set the default to something sane, in the sources:
~/android/system-ics/packages/apps/Mms$ git diff res/xml/preferences.xml
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index bdae567..92bae55 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -64,7 +64,7 @@
                       android:key="pref_key_mms_read_reports"
                       android:summary="@string/pref_summary_mms_read_reports"
                       android:title="@string/pref_title_mms_read_reports" />
-    +                           android:key="pref_key_mms_auto_retrieval"
                       android:title="@string/pref_title_mms_auto_retrieval"
                       android:summary="@string/pref_summary_mms_auto_retrieval" />