摘要: NDK项目源码地址:--第一个JNI示例程序下载:GitHub- https://github.com/han1202012/NDKHelloworld.git--Java传递参数给C语言实例程序: GitHub -https://github.com/han1202012/NDKParameter... 阅读全文
posted @ 2015-04-14 14:44 tianshiaimili 阅读(455) 评论(0) 推荐(0) 编辑
摘要: (jstring与char*的转换)JNIEXPORT void JNICALL Java_command_Cmd_Command (JNIEnv * env, jobject o, jstring command) { char* t; t = (char*)e... 阅读全文
posted @ 2015-04-14 11:30 tianshiaimili 阅读(199) 评论(0) 推荐(0) 编辑