

You can save highlight by saving the first and last word id of an highlight into db or to some persistent storage.Next time when user opens the book get those words ids and highlight those spans.

so you can show start ,end draggable pins on native view. You can get word x,y width height values also. Var touch = e.originalEvent.touches || e.originalEvent.changedTouches If((touchendStartStick = true || touchendEndStick = true) & currHVO != undefined) Then create a js file and inject same as jquery and write touch methods in it Wrap each word into a span with a unique id The best e-book reader apps for Android Aldiko Book Reader AIReader Amazon Kindle Nook FBReader Foxit PDF Reader FullReader Google. +"(document.getElementsByTagName('head') || document.getElementsByTagName('body')).appendChild(script) " Here are the best e-book reader apps for Android. +"if(document.getElementsByTagName('head') || document.getElementsByTagName('body'))" +"var script = document.createElement('script') " String script = "function includeJSFile()" String callBackToNative = " jsInterface.callNativeMethod('jstoobjc:"+data+"') " Note: There are many free ePub Readers on Android that you can search on the Play Books app, check the list at the end of this document. Highly customizable interface, reads most formats. String path = "file:///android_asset/JSLibraries/" Includes text to speech, live interactive scrolling, and sophisticated search and linking tools. once your url loads into webview in onload call back inject jquery lib to webview dom like this This is the way I have done text highlighting Another popular app Bluefire Reader was removed from Google Play Store in 2019.I am giving this answer based on my experience into development of native epub player for android and ios. The Readmill app, introduced in February 2011, reads numerous formats on Android and iOS devices but shut down July 1, 2014. Additionally, Palmbookreader reads some formats (such as PDB and TXT) on Palm OS and Android devices. Other e-book readers for Android devices include: BookShout!, Nook e-Reader applications for third party devices and OverDrive Media Console. Other software e-book readers for Android Productīook source management features Product See Comparison of e-book formats for details on the file formats. Web application, iOS, BlackBerry, Mac OS X, Windows The comparisons are based on the latest released version. Each section corresponds to a major area of functionality in an e-book reader software.

The following tables detail e-book reader software for the Android operating system. See also: EPUB § Software, and Category:EPUB readers
