
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 · 942 阅读 · 0 评论 -
jni 基础知识
Jobject 对象 引用类型Java类型本地类型(JNI)描述boolean(布尔型)jboolean 无符号8个比特byte(字节型)jbyte 有符号8个比特char(字符型)jchar 无符号16个比特short(短整型)jshort 有符号16个比特转载 2015-10-10 16:40:36 · 539 阅读 · 0 评论 -
jni简介
转载 2015-10-10 16:29:22 · 535 阅读 · 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 · 962 阅读 · 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 · 2540 阅读 · 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 · 987 阅读 · 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 · 679 阅读 · 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 · 1620 阅读 · 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 · 691 阅读 · 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 · 1455 阅读 · 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 · 1149 阅读 · 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 · 2615 阅读 · 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 · 1827 阅读 · 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 · 621 阅读 · 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 · 3403 阅读 · 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 · 633 阅读 · 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 · 601 阅读 · 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 · 455 阅读 · 0 评论 -
android jni基本使用方式
JNI是Java Native Interface的缩写,它提供了若干的API实现了Java和其他语言的通信(主要是C&C++)一旦使用JNI,JAVA程序就丧失了JAVA平台的两个优点:1、程序不再跨平台。要想跨平台,必须在不同的系统环境下重新编译本地语言部分。2、程序不再是绝对安全的,本地代码的不当使用可能导致整个程序崩溃。一个通用规则是,你应该让本地方法集中在少数几个类当中。这样就降低了原创 2016-03-21 09:37:09 · 1717 阅读 · 0 评论