title: Which way is preferred to store my android application settings to access them via phonegap and java file
body: <p>I develop a mobile application using phonegap.</p>
  
  <p>The main Issue I'm facing is to store an application setting (Display language, Notification Allow , ...) in way that allow me to access them from java code and from the javascript code</p>
  
  <p>I found that I have two ways to store those settings:</p>
  
  <ol>
  <li>Using database.</li>
  <li>Using SharedPreferences.</li>
  <li>???</li>
  </ol>
  
  <p>I did not find a suitable cordova plugin that allow me to store and load from sharedPreferences and hopeful if there is a ready plugin to act with it,</p>
  
  <p>and wonder which way is better in performance and more common in general.</p>