title: File or Database? - Best Practice to save Objects on Android-Device
body: <p>I'm building an android application in java where I define some Objects like "user" or "playlist" etc..</p>
  
  <p>How to save these self-defined objects on the device for later access?</p>
  
  <pre><code>    Gson gson = new Gson();
      String json = gson.toJson(user);
  </code></pre>
  
  <p>I can parse the objects via GSON to a JSONObject or a JSONArray. Now I have two options to save the strings: In a Database or a File. I know how to use the android database-classes and the filewriter/reader classes, but what is the best practice with regards to performance, accessibility and especially to simplicity?</p>