在Android模拟器上实现相机|需要一些知识
我有兴趣对 android 模拟器进行一些增强(在模拟器上实现网络摄像头)。因此,我遵循 android 源代码和模拟器源代码来获得基本的理解和了解。模块之间的连接。但对于刚接触android的人来说,确实很难理解。因此,任何人都可以指导我找到一些资源来理解这一点。可能是一些适当的文档、教程或任何我能理解的东西。
因为我对模拟器感兴趣,如果我用 "external\qemu" 更改模拟器的代码,然后使用 "m emulator" 构建它并使用 "emulator" 运行,这些更改是否会生效或应用到启动的模拟器上。
如果有人知道,请告诉我,当它从构建 android 源代码作为“模拟器”运行时,它使用的 sdk 是什么。如果我想在该模拟器上安装一些应用程序,我该怎么做?
有知道的请帮忙...
I'm interested in doing some enhancements to android emulator (implement webcam on emulator). Therefore I'm following the android source and emulators source to get basic understanding & the connection between modules. But its really hard to understand it for someone who is new to android. Therefore can anyone please direct me to some resource to understand this. May be some proper documentation, tutorials or anything that i can understand this.
And since i'm interested in emulator if i change the code of emulator with in "external\qemu" , then build it using "m emulator" and run using "emulator" , will those changes effect or apply onto the started emulator.
And if anyone know please let me know that, what is the sdk it uses when it run as "emulator" from the build android source code. Cos if i want to install some application to that emulator how can i do that?
Please help if anyone know...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您将希望在 QEMU 中实现兼容的相机接口。 QEMU 是一个多平台系统仿真器,提供完整的仿真系统。
我建议实现一个与现有硬件设备相匹配的相机。为此,您可能需要研究作为内核源代码一部分的现有驱动程序。
You will want to implement a compatible camera interface in QEMU. QEMU is a multi-platform system emulator which provides a complete emulated system.
I would suggest implementing a camera which matches an existing hardware device. For this, you will likely need to study the existing drivers which are part of the kernel source.