Android 原生函数
我正在尝试在 Android 平台上为我的课程项目创建一个主动阅读应用程序原型。我是Android SDK的新手,我不知道如何使用WebView的本机功能,因为我需要使用它们来实现使用手势选择/突出显示/复制文本。我看到 WebView 有一个函数 setSelection 但它是私有的,我无法使用它。
但我想也许有一些我怀念的东西。可能我需要使用其他东西。请给我一些建议、链接、书籍,我可以在其中找到有用的信息。
I'm trying to create an active reading application prototype for my course project in Android platform. I'm new to Android SDK, and I cannot figure out how to use WebView's native functions, because I need to use them to implement selecting / highlighting / copying texts using gestures. I saw that WebView has a function setSelection but it's private and I cannot use it.
But I think may be there is something that I miss. May be I need to use something else. Please, give me some suggestion, links, books where I can find useful information.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论