Xteink-X4-crosspoint-reader/src/activities/reader
Eunchurn Park b77af16caa
Add Continue Reading menu and remember last book folder (#129)
## Summary

* **What is the goal of this PR?**

Add a "Continue Reading" feature to improve user experience when
returning to a previously opened book.

* **What changes are included?**

- Add dynamic "Continue: <book name>" menu item in Home screen when a
book was previously opened

- File browser now starts from the folder of the last opened book
instead of always starting from root directory
- Menu dynamically shows 3 or 4 items based on reading history:
  - Without history: `Browse`, `File transfer`, `Settings`
- With history: `Continue: <book>`, `Browse`, `File transfer`,
`Settings`

## Additional Context

* This feature leverages the existing `APP_STATE.openEpubPath` which
already persists the last opened book path
* The Continue Reading menu only appears if the book file still exists
on the SD card
* Book name in the menu is truncated to 25 characters with "..." suffix
if too long
* If the last book's folder was deleted, the file browser gracefully
falls back to root directory
* No new dependencies or significant memory overhead - reuses existing
state management
2025-12-26 11:55:23 +11:00
..
EpubReaderActivity.cpp Add Continue Reading menu and remember last book folder (#129) 2025-12-26 11:55:23 +11:00
EpubReaderActivity.h Add Continue Reading menu and remember last book folder (#129) 2025-12-26 11:55:23 +11:00
EpubReaderChapterSelectionActivity.cpp New book.bin spine and table of contents cache (#104) 2025-12-24 22:36:13 +11:00
EpubReaderChapterSelectionActivity.h Give activities names and log when entering and exiting them (#92) 2025-12-21 21:17:00 +11:00
FileSelectionActivity.cpp Add Continue Reading menu and remember last book folder (#129) 2025-12-26 11:55:23 +11:00
FileSelectionActivity.h Add Continue Reading menu and remember last book folder (#129) 2025-12-26 11:55:23 +11:00
ReaderActivity.cpp Add Continue Reading menu and remember last book folder (#129) 2025-12-26 11:55:23 +11:00
ReaderActivity.h Add Continue Reading menu and remember last book folder (#129) 2025-12-26 11:55:23 +11:00