<How can I read data from a public raw text file f...
# stackoverflow
u
How can I read data from a public raw text file from github in my android app? I need to read data from a file from a github txt file, I tried a lot but was unsuccessful. I had included in my manifest file. I used this link for receiving data: https://raw.githubusercontent.com/Tanay360/Sample/main/hello.txt This was my onCreate method : override fun onCreate(savedInstanceState : Bundle?){ super.onCreate(savedInstanceState) setContentView(R.layout.activity_main)...