How to read a file in android studio project folder?

Viewed 332

I am new to android and it seems I cannot get a filepath of a file within the project structure.

I have a text file "db-info.txt", that I am trying to read from a class. Every method I tried has said no file found. This file I am trying to read from a java class within the same folder.

Any help is appreciated. Here is where my file is within the project - image-showing-file-location-within-project

0 Answers
Related