android-ndk's questions - English 1answer

0 android-ndk questions.

Yesterday, I found a catastrophic problem in clang when I was trying to compile a code for arm (in android arm-v7a at least). See this small code: void init_c_32(uint8_t *ptr) { uint32_t tmp[SIZE]...

I'm developing an application that computes hash of already installed applications. Currently my solution flow is open_apk -> put_content_into_buffer -> compute_hash and it takes 26s. I was ...

As is known to all, we use NDK (or JNI) for invoking native code from Java code. In my opinion, the JNI layer is just for communicating between Java code and native code. So, we should not put too ...

I need to use OpenCV in Android Studio 3.1.2. I have the last version at 05/20/2018 of this IDE and the NDK (17.0.4754217). I read this post talking about it, and says something about a problem with ...

I'am use ArCore with Android NDK. And I want to recognize square from each frame of ArFrame. I'am successfully get ArImage throught ArFrame_acquireCameraImage(...) and convert it to AImage throught ...

What is the difference between jni and cpp packages in a project with Android NDK? It seems that .cpp, .h, Android.mk and other files for work with native code can be located in both packages? .. Or ...

I have one issue apply plugin: 'com.android.application' android { compileSdkVersion 27 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility ...

I'm following this instruction: https://developer.android.com/ndk/guides/graphics/getting-started And keep gettig the following error when compilling any module: Build command failed. Error while ...

I'm trying to build some features of WebRTC into a project. We had previously gotten some C-only code functioning, and I'm trying to add more files. The new files are C++, and when I run ndk-build I'm ...

It seems that GCC is now deprecated and will be removed from the Android NDK; Clang will be used instead. That being said Android NDK will never have support for GCC 5 and no updates will be made in ...

This question refers to free software as defined here https://www.gnu.org/philosophy/free-sw.html, not software that is free of charge but distributed under a proprietary software license. The ...

After reading the related docs I don't get if I can create things like buttons or other UI elements used to get user inputs with just the use of C++/C code compiled with the NDK. There are no ...

I have 2 and 1 huge array of strings in strings.xml file, it wrapped in tag. When I trying to get data using getResources().getStringArray(R.array.some_name) first two arrays work fine, but last ...

I build Android project where I use Android NDK with LibXTract to extract audio features. LibXTract use fftw3 library. Project is consisted of button which runs simple example form libxtract: ...

I have a layout that has about 60 buttons and each one, when pressed, plays a different audio file. I have all my audio files as mp3s in my assets folder and to play them I'm basically using the same ...

I successfully compiled openssl using android ndk build and .so files are built successfully. I am trying to 'include' built .so files in an android project. Getting an error in below line: #...

I implemented the android NDK recently to hide my app keys and secrets. Since I did that whenever I run my app in debug mode in android studio, my breakpoints get interrupted with sigsegv (signal ...

I used OpenGL and some shader code to draw a car in Visual Studio. I want to put my C++ project to Android studio and draw a car on the Android phone. I know use JNI and Android NDK, But lots of ...

I am making an app to send data through serial port. this requires to call methos from a native library I have two native methods "open" "close" I have generated to .so libraries using ndk and put ...

i make an emergency application that will send a SMS to the 5 people when volume down key or menu key is pressed. this is my code for detect a keypress when the activity launched: package com....

I am using appcenter for CI of my react native projects. The CI build is failing for me with the error What went wrong: Execution failed for task ':app:...

Hello fellow developers, I coded a computer vision technique for Android devices using mostly NDK and during the tests, I noted that the same application, running with the same input dataset, have ...

How to play .aac audio format in android. I tried using ffmpeg convert audio format and play in android-ndk. But im not able to implement. Please let me know any ideas or any ref link to follow

My Android Studio versions is 2.3. I created new project and i checked "include C++" because I want to do NDK but.. I got error that Failed to find Cmake, Install Cmake and sync project. I click ...

I just want to ask about little JNI code, I'm having a problem getting the right length of array passed in this code. Here is my JNI code: // jniexample.c JNIEXPORT int JNICALL ...

My Android Studio app uses OpenCV and the NDK. The apk was too big so I decided that I do not want to support x86 devices (I only want to support armeabi-v7a and arm64-v8a), so support for the x86 ABI ...

When I open a new project that support C++ in Android Studio, It only outputs "Hello C++",And I didn't modify any code. I have tried to change the version of Android Studio and SDK. But it always show ...

I am working with Android Native Development Kit. I have a CMakeList.txt and I am trying compile it. CMakeList.txt cmake_minimum_required(VERSION 3.6.0) add_library(callrecfix SHARED ...

Can someone explain why I get this errors please? Build command failed. Error while executing process C:\Users\Kevin\Desktop\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=...

Language

Popular Tags