SyntaxFix
Write A Post
Hire A Developer
Questions
Put the text file in the assets directory. If there isnt an assets dir create one in the root of the project. Then you can use Context.getAssets().open("BlockForTest.txt"); to open a stream to this file.
Context.getAssets().open("BlockForTest.txt");