geometer / FBReaderJ

Official FBReaderJ project repository
http://www.fbreader.org/FBReaderJ/
1.83k stars 801 forks source link

Feature Request: Reading progress option (time to end of current chapter [next TOC]) #413

Open rspilk opened 8 years ago

rspilk commented 8 years ago

For the progress indicator it would be helpful to have an option which will allow prediction of how long it will take to finish the current chapter. This might need to be some averaged reading speed based on the rate at which the current chapter is being read or something but it is the only feature I miss from using the kindle app.

For large books, it gets difficult to identify current status as the TOC marks get really close together so for reading progress it is good for an overall "how far am I into the book" but doesn't help if you are trying to decide if you should read another chapter before going to sleep.

rspilk commented 8 years ago

I have been looking into the intents available for this application to perhaps make this work using Tasker. Is the android.fbreader.action.API intent documented anywhere?

intari commented 8 years ago

As far as I knew, there are not intents for this purpose. But there are 'real' APIs for FBReader. I tried to use 'old' API in my app. Unfinished code which can you use as starting is at https://github.com/intari/readingtracker/tree/fbreader_support also, in https://github.com/geometer/FBReaderJ/pull/342 author says there is better and more stable API at https://github.com/geometer/FBReaderAPI/ I'm not sure how relevant all of this will be for current version and if APIs ever work with FBReader Premium.