Linux/UNIX系统编程手册 (1)

Pro Android C++ with the NDK (2)

  • 第155页 Bionic API Primer
    1. 内存管理 malloc,free,realloc new,delete 2. 标准文件I/O fopen fwrite,fputs,fputc,fprintf,fflush fread,fgets,fgetc,fscanf feof fseek ferror fclose 3. interacting with processes system po...
  • 第67页 communicating with native code using JNI
    1. 在Eclipse IDE中配置External Tools使用javah自动生成JNI头文件 2. 关于JNI中用C/C++实现时: For C code: return (*env)->NewStringUTF(env, "Hello from JNI!"); For C++ code: return env->NewStringUTF(...