title: Where can I find the default Realm Database file
body: <p>I started working on the logic for my migration, using this code:
  <a href="https://github.com/realm/realm-java/blob/master/examples/migrationExample/src/main/java/io/realm/examples/realmmigrationexample/MigrationExampleActivity.java" rel="nofollow">https://github.com/realm/realm-java/blob/master/examples/migrationExample/src/main/java/io/realm/examples/realmmigrationexample/MigrationExampleActivity.java</a></p>
  
  <p>And after writing the code, I get an error at this line:</p>
  
  <pre><code>String path3 = MigrationClass.copyBundledRealmFile(this, this.getResources().openRawResource(R.raw.default1), "default1");
  </code></pre>
  
  <p>It can't find the R.raw.default1 file, because until now, I used the default Realm like this:</p>
  
  <pre><code>Realm realm = Realm.getInstance(context);
  </code></pre>
  
  <p>My question is where can I get the file path for this realm file?</p>