title: What is the default database location of an android app for an unrooted device?? Is it same as for rooted one?
body: <p>I have quite a specific question.</p>
  
  <p>First let me explain what I am trying to do and then the problem.</p>
  
  <p>Basically what I am trying to do is to store an existing .db database file in <strong>assets</strong> folder and then after installation I want to copy the .db file from assets to the default database location in Android. Something similar to this page answer [link]<a href="https://stackoverflow.com/questions/9109438/how-to-use-an-existing-database-with-an-android-application">How to use an existing database with an Android application</a>. </p>
  
  <p><strong>Problem</strong> For unrooted device I cannot access <code>/data/data/&lt;&lt;package name folder&gt;&gt;</code> . In this case where is the database file gets stored. In other term I want to copy a file from assets to applications default location for database which is <code>DB_PATH = "/data/data/" + context.getPackageName() + "/databases/"</code> in case of a rooted device. Would it be the same for the unrooted device. </p>