title: Get app sqlite database programmatically in file
body: <p>I want to upload my sqlite DB file to DropBox. But before that I need to get the sqlite Db file in code. How can I do this on any device? I checked on <a href="https://stackoverflow.com/questions/4452538/android-location-of-sqlite-database-on-the-device">this</a> link, and it says that the user needs root permissions to access the database.</p>
  
  <p>So in short:</p>
  
  <p>How can I access my sqlite database with non rooted devices? eg <code>File f = new File("path_to_db_file");</code> </p>
  
  <p>If that approach is impossible, how can I save my app database in a place that I will be able to gain access to it?</p>
  
  <p>Please let me know if I can explain anything. Thank you in advance</p>