How to read txt files in my app

i am making an application of reading so i can’t make my application so heavy so how can i use txt files in my app please discuss with blocks

use the File component

A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .

Also do the tutorials Tutorials for App Inventor | Explore MIT App Inventor to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

1 Like

but it dont take place actually i am making chapter of book using label then again it’s work fine

Or you can use cat /mnt/sdcard/file.txt with shell component to retrieve the content.

1 Like