【发布时间】:2011-06-27 20:21:53
【问题描述】:
请阅读this 问题,了解我想要达到的目标的一些背景知识。在互联网上寻找答案时,我发现了this 线程。在这个帖子中,一位 Google 的员工谈到了使用本机 (C/C++) 库来访问相机
You CANNOT do that. Please, understand that Native APIS ARE NOT PUBLIC
(sorry for shouting).
All these APIS may/will go away or change in ways that will make your
application *crash* in the near future.
We are not, and will not, try to maintain binary compatibility on native APIs.
You *can* use native code if you wish, but you ABSOLUTELY CANNOT call
into Android native APIs. That's a no-no. And you won't find help from
the Android team here about this subject.
我的问题:这是否意味着在任何情况下都不应尝试使用本机库处理任何设备,如加速度计、相机、指南针等?
【问题讨论】:
标签: android