我希望我的Android应用程序有一个的WebView
内的文本高亮。类似于在谷歌Play图书中的功能。没有任何一个有一个想法如何实现这一目标?
I want my android application to have text highlighting within a WebView
. Similar to the functionality found in Google play book. Does any one have an idea how to achieve this?
我使用了一个的WebView
,因为我的内容是在HTML表单。
I'm using a WebView
because my content is in html form.
基本上是谈论这个的效果:
basically talking about this effect:
如果您使用的WebView尝试整合Mozilla的PDF.JS在这里你可以渲染PDF。其中可以包含图像也。
If your using WebView Try to integrate Mozilla PDF.JS where you can render PDF . which can contain Images also .