ndk
FFISH
这个作者很懒,什么都没留下…
展开
-
NDK开发 第一章 Hello-jni
本章所学如何配置cmake Jni读取运行时的CPU型号 java调用native方法代码来源googlesamples/android-ndk: Android NDK samples with Android Studiohttps://github.com/googlesamples/android-ndk1、在build.gradle中配置cmake...原创 2019-05-21 17:14:22 · 268 阅读 · 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 · 268 阅读 · 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 · 1404 阅读 · 0 评论