title: Read file located at android/app/sample.properties file in android programmatically
body: <p>I would like to access <code>.properties</code> file located at <code>android/app/</code> programmatically. Following is my directory structure:</p>
  
  <p><a href="https://i.stack.imgur.com/sB1Lo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sB1Lo.png" alt="enter image description here"></a></p>
  
  <p>As you can see in above screenshot when we install fabric it reads fabric.properties file from <strong>android/app/</strong> directory. How fabric is reading that file?  I am not able to get how to read sample.properties file from location described in above screenshot.</p>
  
  <p>I tried following code which returns path <strong>/data/user/0/com.abc</strong></p>
  
  <pre><code>PackageManager m = getReactApplicationContext().getPackageManager();
          String s = getReactApplicationContext().getPackageName();
          try {
              PackageInfo p = m.getPackageInfo(s, 0);
              s = p.applicationInfo.dataDir;
              Log.i("Register", s);
          } catch (PackageManager.NameNotFoundException e) {
              Log.w("Register", "Error Package name not found ", e);
          }
  </code></pre>