扩展Android媒体播放器
我想扩展内置媒体播放器,但是当我获取源代码时,有很多难以追踪的外部依赖项。
有什么方法可以获取源代码和依赖项,以便我可以将它作为独立的,然后扩展它,这可能吗?
I want to extend the built in media player, however when i grab the sources, there are a lot of external dependencies that are hard to track down.
Is there any way to get the source and the dependencies so that i can have it as a standalone and then extend it, is this even possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
大多数内置应用程序(例如媒体播放器)都设计为作为固件的一部分构建。 尝试仅获取源代码并将其与 SDK 一起使用可能行不通,至少在目前的形式下是行不通的。
AFAIK,您的选择是要么使用固件构建过程(如果您尝试向 Android 贡献补丁,则最好),努力使媒体播放器可在 SDK 上构建(贡献补丁),然后从头开始扩展它,或者从现有的开源 Android 媒体播放器开始并在那里做出贡献(如果有的话)。
Most of the built-in applications, such as the media player, are designed to be built as part of the firmware. Trying to just take the sources and use them with the SDK probably will not work, at least not in its present form.
AFAIK, your choices are to either use the firmware build process (best if you are trying to contribute patches back to Android), work to make the media player buildable on the SDK (contributing patches back) and then extending it, starting from scratch, or starting from an existing open source Android media player and contributing there (if there is one).