Hello. I have a question. How to call an Activity by clicking on one of the options from the ListView , and so that on the second Activity shows the text from the res/raw folder In one article it was written that you can do this:
private String Iv_ar[]={ "1. Text1",//n0 "2. Text2",//n1 "3. Text3",//n2 "4. Text4" //n7 }; But there was no complete code and no explanation at all. Then in the res/raw folder. Create files in .txt or .html format. With the names n0.txt, n1.txt, n2.txt, n7.txt. When you click on one of the options, the text from these files opens.
Tell me how to implement this? Desirable answer with explanations.