I needed to use the local storage, the new line in MainActivity.java enables it. Added in a comment, to avoid having it always enabled.
Fix typo in Android example
Updated Writing an Android application (markdown)
Update for newer version of Android Studio