I have an html file "a kind of ebook" and would like to display it per page like books application do. I mean it should not be scrollable down but rather a sweep should provide a new page (next or previous) without any scrollbar.
Could you please suggest how to do this?
1) Where to store it (it is about 300KB)?
I prefer to insert into the app for offline usage (rather then using DB)
2) How to calculate amount of text per page (to fit exactly)?
Especially because sometimes it contains headers (chapter title) which is quite big and some times not (so the number of lines/chars will be bigger)
I guess it will be quite strange to add word by word to the HTML element and calculate its size until it will become more that a screen height.
And even so - how to go to the previous page (and calculate from which word to start...)
Thanks for your ideas.