Read text files from Assets in AndroidDaniyar·Follow1 min read·Oct 7, 2020--ListenSharePhoto by Aaron Burden on UnsplashAdd *.txt file to Asset folder:Text inside the file can be randomCreate layout with TextView:In MainActivity add this code:git linkBonus:Parse JSON formatted data (git)Add this function, which will parse from data.json file:In onCreate() change the code:And add data.json file to Asset folder: