![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ndk
那块代码没问题
这个作者很懒,什么都没留下…
展开
-
android ndk 内容
ConceptsOn this pageBefore BeginningIntroductionHow It WorksNative Activities and ApplicationsBefore BeginningThis guide assumes假定 that you are:Already familiar with co翻译 2015-10-10 09:36:19 · 894 阅读 · 0 评论 -
jni 基础知识
Jobject 对象 引用类型Java类型本地类型(JNI)描述boolean(布尔型)jboolean 无符号8个比特byte(字节型)jbyte 有符号8个比特char(字符型)jchar 无符号16个比特short(短整型)jshort 有符号16个比特转载 2015-10-10 16:40:36 · 517 阅读 · 0 评论 -
jni简介
转载 2015-10-10 16:29:22 · 516 阅读 · 1 评论 -
android ndk Using Prebuilt Libraries
Using Prebuilt LibrariesOn this pageDeclaring a Prebuilt LibraryReferencing the Prebuilt Library from Other ModulesDebugging Prebuilt LibrariesSelecting ABIs for Prebuilt Libraries翻译 2015-10-10 16:12:43 · 922 阅读 · 0 评论 -
android ndk Android.mk
Android.mkOn this pageOverviewBasicsVariables(变量) and Macros(指令集)Module-Description VariablesThis page describes the syntax(语法) of the Android.mk build file, which glues(黏合剂) you翻译 2015-10-10 11:29:02 · 2497 阅读 · 0 评论 -
android ndk Application.mk
Application.mkOn this pageOverviewVariablesThis document explains the Application.mk build file, which describes the native modules that your app requires. A module can be a stat翻译 2015-10-10 12:54:16 · 951 阅读 · 0 评论 -
android ndk Using Existing Libraries
Using Existing Libraries使用现有的库This section discusses the use of existing libraries–both your own, and those that the NDK provides.It begins by telling you how to use your own prebuilt librarie翻译 2015-10-10 15:49:30 · 654 阅读 · 0 评论 -
android ndk The cpufeatures Library
The cpufeatures LibraryOn this pageUsageFunctionsChange HistoryThe NDK provides a small library named cpufeatures that your app can use at runtime to detect检测 the target device's翻译 2015-10-10 15:43:53 · 1575 阅读 · 0 评论 -
android ndk MIPS Support
MIPS Support每秒百万条指令(Million Instructions Per Second)On this pageOverviewCompatibilityThe NDK supports the mips ABI, which allows native code to run on Android-based devices t翻译 2015-10-10 15:32:24 · 644 阅读 · 0 评论 -
android ndk Support for 64-bit x86
Support for 64-bit x86On this pageOverviewStandalone ToolchainCompatibiltyThe Android NDK supports the x86_64 ABI. This ABI allows native code to run on Android-based devices usi翻译 2015-10-10 15:30:01 · 1415 阅读 · 0 评论 -
android ndk x86 Support
x86 SupportOn this pageOverviewARM NEON Intrinsics SupportStandalone ToolchainCompatibilityThe NDK includes support for the x86 ABI, which allows native code to run on Android-ba翻译 2015-10-10 15:19:35 · 1107 阅读 · 0 评论 -
android ndk NEON Support
NEON SupportOn this pageUsing LOCAL_ARM_NEONUsing the .neon SuffixBuild RequirementsRuntime DetectionSample CodeThe NDK supports the ARM Advanced先进,高级 SIMD单指令多数据玲构(Single Instruc翻译 2015-10-10 14:55:27 · 2559 阅读 · 0 评论 -
android ndk ABI Management
ABI ManagementCPU/ABI:模拟器要运行的系统印象文件On this pageSupported ABIsGenerating Code for a Specific ABIABI Management on the Android PlatformDifferent Android handsets(手机,装置) use翻译 2015-10-10 14:36:23 · 1780 阅读 · 0 评论 -
android ndk CPUs and Architectures
CPUs and Architectures cpu和架构When you're working with native code, hardware matters. The NDK lets you ensure you're compiling for the right architectures and CPUs by giving you a variety of ABI翻译 2015-10-10 14:06:22 · 590 阅读 · 0 评论 -
android ndk Toolchain
Standalone Toolchain独立的工具链On this pageSelecting Your ToolchainSelecting Your SysrootInvoking the CompilerWorking with ClangABI CompatibilityWarnings and LimitationsYou can use th翻译 2015-10-10 14:01:06 · 3350 阅读 · 0 评论 -
android dnk 引导
Getting Started with the NDKThe Native Development Kit (NDK) is a set of tools that allow you to leverage C and C++ code in your Android apps. You can use it either to build from your own source翻译 2015-10-10 09:10:07 · 606 阅读 · 0 评论 -
android ndk-bulid
ndk-buildOn this pageInternalsInvoking from the Command LineInvoking from Eclipse64-Bit and 32-Bit ToolchainsRequirementsThe ndk-build file is a shell script introduced in Androi翻译 2015-10-10 13:13:25 · 580 阅读 · 0 评论 -
android ndk 构建简介
Building Your ProjectOne of the NDK's core purposes is allowing you to build C and C++ source code into shared libraries that you can use in your app.This section explains how to build native翻译 2015-10-10 09:43:38 · 434 阅读 · 0 评论 -
android jni基本使用方式
JNI是Java Native Interface的缩写,它提供了若干的API实现了Java和其他语言的通信(主要是C&C++)一旦使用JNI,JAVA程序就丧失了JAVA平台的两个优点:1、程序不再跨平台。要想跨平台,必须在不同的系统环境下重新编译本地语言部分。2、程序不再是绝对安全的,本地代码的不当使用可能导致整个程序崩溃。一个通用规则是,你应该让本地方法集中在少数几个类当中。这样就降低了原创 2016-03-21 09:37:09 · 1670 阅读 · 0 评论