Android浏览器插件 [英] Android browser plugin
问题描述
我发现在Android源$ C $ C样品的插件。比方说,我可以写使用示例插件,我将如何得到我的模拟器来运行我写的插件? 我是否需要重新编译源$ C $ C?如果是,如何实现这一点可能做到?
i found sample plugin in android source code. let's say i can write a plugin using the sample, how would i get my emulator to run the plugin that i wrote? Do i need to recompile the source code? if yes, how is that possibly done?
感谢:)
推荐答案
对于任何这种情况挣扎,我找到了解决办法:
For anyone struggling with this situation, i found a way around:
包括web视图里面,并且创建一个Web客户端吧。
include a "webview" inside your application and create a webclient for it.
这将导入原生浏览器的应用程序中。所以,我手动添加一个地址栏和开始按钮和一些其他的东西我的应用程序,这使得它看起来像,如果它是一个插件原生浏览器!这是最好的解决方案,到目前为止,直到谷歌提供了开发插件的本地浏览器一个简单可行的方法
this imports the native browser inside your app. So i added manually a url bar and go button and some other stuff for my application, which makes it look like if it was a plugin for the native browser! this is the best solution so far, until google provides an easy feasible way to develop plugins for the native browser
这篇关于Android浏览器插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!