(Source code introduction:
This site also released the source of two e-book reader projects before. Click here to view. This project is also an e-book project source code. You can download or read the local SD TXT format e-book on the card online. The effect of bookshelves is quite good. Switch to my bookshelf to automatically list downloaded titles and local titles. However, if there are many txt files on the SD card, it may take a long time to scan the files. Because there are many TXT log files automatically generated by my mobile phone, the optical scanning time is relatively long. I think if you make improvements, you can refer to the source code. The music player file scanning part of this site scans more than 400 MP3 files per second. You can also directly filter out small log files whose file size is less than kilobytes. Due to the change of the server website, the download part of all novels in this project cannot be demonstrated. Please refer to the implementation code. In addition, there is a problem with the text reading part on my machine. You can download and run it yourself
Involved modules & amp; technology
File scanning
sqlite
File download
XML file parsing
...)