在使用 javah 命令的时候,发现直接使用: javah -d outputdir -jni xxx.xxx.MyClass 会出现: 错误: 找不到类 android.hardware.Camera。 因为我的?MyClass 里面引用了?android.hardware.Camera,所以必须加上...
分类:
移动开发 时间:
2015-10-09 18:35:58
阅读次数:
185
Description在使用 Eclipse 创建 Maven 项目的时候报错Dynamic Web Module 3.0 requires Java 1.6 or newer,已经确认了 JRE System Library 和 Java Compiler 的版本都是 jdk1.7.0_75,但这...
分类:
编程语言 时间:
2015-10-08 21:23:47
阅读次数:
155
Recall that with TLB misses, we have two types of systems: Hardware managed TLBs (where thehardware looks in the page table to find the desired transl...
分类:
其他好文 时间:
2015-10-07 12:14:31
阅读次数:
173
Time complexity O(log(n)). When the question requires O(log(n)) time complexity, we always need to think whether it can be solved by binary search.For...
分类:
其他好文 时间:
2015-10-06 07:00:43
阅读次数:
176
本来想用这一篇博客把cameraHAL的实现和流程都给写完的.搞了半天,东西实在是太多了.这篇先写cameraHAL的基本实现框架,下一篇在具体写camerahal的流程吧.cameraHAL的实现:对于初学者来说,最大的疑问是系统是如何调用hardware的.这里就以camera来举例说明.调用h...
分类:
移动开发 时间:
2015-10-05 23:15:26
阅读次数:
375
All the clock hardware does is to generate interrupts at known intervals. Everythingelse involving time must be done by the software, the clock driver...
分类:
其他好文 时间:
2015-10-05 08:10:23
阅读次数:
169
QUESTION NO: 100
Which operation requires that you create an auxiliary instance manually before executing the operation?
(Choose all that apply.)
A. Backup-based database duplication.
B. Active d...
分类:
其他好文 时间:
2015-10-05 00:46:48
阅读次数:
146
随着安卓版本的不断更新,新的API不断涌出,有时候高版本的API会在低版本crash的。如果minSdkVersion设置过低,在build的时候,就会报错(Call requires API level 17 (current min is 9));这时候为了编译可以通过,可以添加@Suppres...
分类:
移动开发 时间:
2015-10-03 18:07:39
阅读次数:
208
Most of the time, hardware virtualization?technology?extensions should be enabled in motherboard BIOS in order to run recent OS and applications. Specifically Windows 8 and 8.1 require vt-x/amd-...
分类:
其他好文 时间:
2015-10-03 12:03:48
阅读次数:
1091
Camera的简单使用浅析由于最近工作上用到android.hardware.Camera这个类,于是简单的学习了一些基本用法。首先注意:Camera这个类在API21以后就不推荐使用了,官方提供了一个新的类名叫:Camera2,其中包含了新的回调机制,感兴趣的朋友可以仔细研究研究。Camera官方...
分类:
移动开发 时间:
2015-10-02 16:06:25
阅读次数:
201