安卓:有麻烦摄像机源$ C ​​$ C工作 [英] Android: Having trouble working with Camera source code

查看:126
本文介绍了安卓:有麻烦摄像机源$ C ​​$ C工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经写了使用SurfaceView这是做什么我想要它做的...一个相机应用然而,我发现自己复制越来越多的本土的拍照功能,而且我觉得我重新发明轮...所以我用GIT拉下摄像机源,想我应该从这里开始我的班和code添加到它。我检查的许可,并允许我使用源代码,并且可以自由地分发我修改可执行文件等。

I've written a camera app using SurfaceView that is doing what I want it to do...however, I'm finding myself replicating more and more of the native camera features, and I feel like I'm reinventing the wheel...so I used GIT to pull down the camera source, thinking I should start here and add my classes and code to it. I checked licensing, and I am allowed to use the source, and can freely distribute my modified executable, etc.

我的问题:
我拉下来的来源,它降落在Camera文件夹在根的,当我试图将其导入到我的工作区使用Eclipse(最新的),它只是找到一个测试项目,而不是拉这一切在

My problem: I pulled down the source, it landed in a Camera folder off of the root, and when I try to import it into my workspace with Eclipse (latest), it's only finding a test project, and not pulling it all in.

所以...我创建了一个新的项目,并从文件系统导入到打开的项目,我有一大堆的错误。不值得调试,我显然缺少一些重要的概念。

So...I created a new project, and imported from filesystem into the open project, and I have tons of errors. Not worth debugging, I'm obviously missing something important in concept.

我的问题:什么是拉下这个程序,并把它在我的本地机器上运行正确的程序?我敢打赌有一个相当简单的答案,但没有任何运气找到它(没有正确或搜索的东西......)

My question: what is the correct procedure to pull down this app, and get it running on my local machine? I'm willing to bet there's a fairly simple answer, but not having any luck finding it (not searching correctly or something...)

谢谢大家前进! :)我AP preciate的帮助。

THANK YOU ALL IN ADVANCE! :) I appreciate the help.

标记

推荐答案

开源的Andr​​oid摄像头是不是真的意味着要建成一个Android项目在Eclipse中,它使用的是不容易获得美国和权限的系统库假设它是一个系统的应用程序。

The Android Open Source Camera is not really meant to be built as an Android Project in Eclipse, it uses system libraries that are not readily available to us and permissions that assume it is a system app.

您可以使用的makefile生成APK,但随后你需要的几乎所有的AOSP项目。

You can use makefiles to generate the apk, but then you'd need almost all of the AOSP project.

这篇关于安卓:有麻烦摄像机源$ C ​​$ C工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆