android-ndk
Android std and stl support
I am playing with android ndk. I am using Window Vista with cygwin (latest version). I compiled and launched the hello world jni sample on my phone. It is working. The code is (is a .cpp file):[详细]
2023-04-03 02:49 分类:问答Android NDK produce unreasonable big binaries, how to optimize .so size?
I have notice that Android NDK (r6b in my case) produce unreasonable big resulting .so files. For example, in my case I have ~150-200 lines of C++ code (6 native methods and 3 C++ simplest classes) an[详细]
2023-04-03 01:48 分类:问答Android ndk-build produce no share library in /lib
I am using Eclipse to experiment Android NDK programming.My platform info is as follows: Windows 7. Eclipse platform. I can use this eclipse platform to build android apps without hassle; no probl[详细]
2023-04-02 22:25 分类:问答Not able to profile android native code
I am trying to optimise native code. I tried using Debug.startMethodTracing() and Debug.stopMethodTracing(). But its profiling only java functions, its not profiling the native code. The native call t[详细]
2023-04-02 19:15 分类:问答take a picture with android ndk - camera api
Is there 开发者_运维问答a standarized API for taking pictures using Android NDK? Or is it really necessary to go through Java for that?Yes. It is necessary to go through Java. Since NDK access will[详细]
2023-04-02 12:20 分类:问答Android NDK: fully compile in arm mode
How to compile 开发者_开发技巧native code in arm mode? After setting LOCAL_ARM_MODE to \"arm\",recompiling(including STLport) and starting app, I got SIGBUS exception in /system/lib/libstdc++.so.[详细]
2023-04-02 11:01 分类:问答Eclipse & Seqoyah - Tries to connect to gdbserver before application is launched on device
I\'ve setup my Eclipse to debug the Native side of my application using Eclipse & Seqoyah and added the appropriate C/C++ Application Debug Configuration.[详细]
2023-04-02 10:25 分类:问答this memory alloc. code runs perfectly on x86, but periodically causes segfaults on Android
I am having a hard time tracking down a bug in native C code within my Android application.This code sits in Wireshark, which I\'ve ported to Android.I have run this same code on x86 numerous times un[详细]
2023-04-02 09:25 分类:问答can AsyncTask be interrupted when running native code? weird things happening
I am having unexpected behavior within a native C function, which is called by an AsyncTask thread.The code is pretty straight forward.I do error checking on memory which I am going to copy a string i[详细]
2023-04-02 04:35 分类:问答is it possible to fetch the data from the class created for getter-setter methods
In My Application i stored the data in to the One class said name as abc. in this class there are only getter setter methods available. I am going to store the String array in to that class by getter[详细]
2023-04-02 04:33 分类:问答
加载中,请稍侯......