Saturday, July 20, 2013

CRFSC 笔记

ACTS —— The Vital Four ACTS of Firearm Safety

A:    Assume every firearm is loaded.
C:    Control the muzzle direction at all times.
T:    Trigger finger must be kept off the trigger and out of the trigger guard.
S:     See that the firearm is unloaded——PROVE it safe.

"PROVE" Safe

P:      Point the firearm in the safest available direction.
R:     Remove all ammunition.
O:     Observe the chamber.
V:     Verify the feeding path.
E:     Examine the bore for obstructions. 

Monday, July 15, 2013

Android NDK 基本概念及注意事项


  1. 必须作为原生动态链接库(native shared library) 提供。文件名必须符合Unix库文件命名规范,必须包含标准的JNI入口函数。例:

    libname.so 
  2. 应用必须显式加载该库。通常在应用启动时加载。例:
  3. static {
    System.loadLibrary("FileLoader");
    }

    注意:不能包含"lib"前缀和.so 后缀。

Search This Blog