title: How to load properties file which is in assets folder?
body: <p>I'm working on an Android application and I need to read my properties in assets folder in <code>/app/src/main/assets/app.properties</code>.</p>
  
  <p>But when I use:</p>
  
  <pre><code>Properties properties = new Properties();
  try {
  properties.load(new FileInputStream("app.properties"));
  } catch (IOException e) {
  ...
  }
  </code></pre>
  
  <p>The inputStream seems to be <code>null</code>. I think I have to precise the <code>filepath</code> or something like that to access to my properties file.</p>
  
  <p>I need to use my properties in this class: <code>/app/src/main/java/mypackage/model/myclass.java</code></p>