title: File path in Java on Android
body: <p>When I upload my program to my Android device, it will have a text file on the device. I have created it in the package directory, and I suppose that it will be uploaded to the device when I deploy the package.</p>
  
  <p>How can I find the file path of the text file in order to be able to use it from the application, so I can read from the file?</p>
  
  <p>I tried some simple code: <code>File file=new File("test.txt");</code></p>
  
  <p>Is this possible and if so, how can it be done?</p>