
ndk
FFISH
这个作者很懒,什么都没留下…
展开
-
NDK开发 第一章 Hello-jni
本章所学 如何配置cmake Jni读取运行时的CPU型号 java调用native方法 代码来源 googlesamples/android-ndk: Android NDK samples with Android Studio https://github.com/googlesamples/android-ndk 1、在build.gradle中配置cmake ...原创 2019-05-21 17:14:22 · 319 阅读 · 0 评论 -
NDK开发第二章hello-libs-引用第三方库文件
1、CmakeList.txt编写 # # Copyright (C) The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Lic...原创 2019-05-21 17:13:07 · 317 阅读 · 0 评论 -
NDK开发第三章 JNI-Callback
本章所学到的知识 jni创建java对象 jni调用java静态方法 创建linux线程 jni线程锁 jni回调java对象方法 /* * A function calling from JNI to update current timer * 此处注解,防止编译器删除 */ @Keep private void updateT...原创 2019-05-21 17:12:10 · 1509 阅读 · 0 评论