android-ndk
Not able to write to sys/class/uwb/scan file through JNI using android application
define SCAN_FILE /sys/class/uwb_rc/uwb0/scan My aim is to write to a SCAN_FILE in android as in " echo 9 0 >/sys/class/uwb_rc/uwb0/scan "[详细]
2023-04-10 11:59 分类:问答Result from Native Call always Returns 1717986916
I have a very simple Java program that takes a double 16 array passes it to a Native C call. In the C function I take each element of the array and sum it up and return that sum.I followed some of the[详细]
2023-04-10 10:59 分类:问答Android: which thread is native method running in?
Is there any sense in calling a native function from a separate开发者_Python百科 Java thread, or is it already being run in a separate thread by Dalvik VM?Native methods are run just like other method[详细]
2023-04-10 07:14 分类:问答Android NDK build script ignoring main makefile
I\'ve got Application.mk file which is ignored by ndk-build for some reason. What i\'ve got in it: APP_PROJECT_PATH := $(call my-dir)[详细]
2023-04-10 05:51 分类:问答Creating an android native level application using .h and.c file?
Is there any way to use an .h , .c and .so file a开发者_Go百科nd also create an android native level application???[详细]
2023-04-10 04:33 分类:问答Android filesystem includes
I am developing a native Android app, and I need access to GraphicBuffer.h (which is located in frameworks/base/include)[详细]
2023-04-10 03:05 分类:问答android - javah doesn't find my class
I am having troubles generating the C header file for JN开发者_如何学编程I using javah. Here\'s the script I use while standing in the <project-dir>\\bin directory:[详细]
2023-04-10 00:00 分类:问答my application crashes trying to call native method while woking on emulator?
I am developing a program that uses native code and it works fine on 开发者_如何学Cthe testing device Samsung galaxy S[详细]
2023-04-09 16:08 分类:问答Programming for Android in a 100% C++ Environment?
I\'ve been working on a game engine runtime environment in C++ for my future games, and have started to consider android as a platform. I noticed that it was tightly bound to Java and uses Java VMs he[详细]
2023-04-09 15:54 分类:问答Creating temporary files in Android with NDK
I am currently working on a C-base开发者_开发问答d, NDK-based, Android application. This application needs to create temporary files. On a regular Linux system, I would use tmpfile to ensure that thes[详细]
2023-04-09 11:39 分类:问答