FAQ

Search Discussions

171 discussions - 679 posts

  • I thought I understood this...I was wrong. I'm getting a persistent error indicating that I'm STILL calling my JNI function wrong.... Here is the structure of the Java side of my app: package ...
    Jim GrahamJim Graham
    Jul 10, 2012 at 11:47 pm
    Jul 12, 2012 at 9:12 am
  • Hi, *So, When is the NDK going to be on par with the Java SDK ? Is there any on going progress on the matter ? Is Google working on it ? Is there an announced release date ?* *Why do I ask this :* ...
    SkyrapeSkyrape
    Jul 26, 2012 at 12:38 am
    Aug 1, 2012 at 9:45 pm
  • Hi, I'm using the native-activity sample as a base. I wish to dynamically load and call into a 3rd-party shared-library. All I have is the externally-produced file *libfoo.so* and the knowledge of ...
    Progman3KProgman3K
    Jul 25, 2012 at 8:29 pm
    Aug 8, 2012 at 6:58 pm
  • Simply put, my app has its minimum-SDK set to API level 8 (Froyo). With that in mind, I have two questions: 1) Is armeabi-v7a backwards compatible with armeabi? 2) If not, do any semi-current (Froyo ...
    Jim GrahamJim Graham
    Jul 12, 2012 at 12:48 am
    Dec 31, 2012 at 4:07 pm
  • I want to use a simplified version of the Android media framework (actually, all I need is the NuPlayer to play an RTSP stream for my app). I know this sort of customization involves using the native ...
    Kiran RaoKiran Rao
    Jul 12, 2012 at 9:39 pm
    Aug 30, 2012 at 5:39 pm
  • I've just built my first NDK (and OpenCV) project (not including tutorials). Everything seemed to build fine, but now I'm getting the following error in Eclipse when I try to build the project. "The ...
    Jim GrahamJim Graham
    Jul 4, 2012 at 3:08 pm
    Jul 5, 2012 at 12:43 pm
  • My app uses "android.app.NativeActivity" as the root activity. I use JNI to create a java object retaining a reference to it and call its various members through out my app lifecycle. At one point i ...
    James WoodbridgeJames Woodbridge
    Jul 4, 2012 at 3:49 pm
    Jul 20, 2013 at 12:05 am
  • Hello again, I am having some issues getting OpenGLES1.1 to resume when i return to NativeActvity from a Sub Activity (on back button press). The flow is NativeActivity - Launch new Activity - Return ...
    James WoodbridgeJames Woodbridge
    Jul 5, 2012 at 10:56 am
    Jul 6, 2012 at 7:46 am
  • Hello fellow NDK devs, We are developing a game using NativeActivity, OpenGLES2 and OpenSLES. We are experiencing an occasional lockup on HoneyComb (not verified on ICS) but are unable to determine ...
    Step_jacStep_jac
    Jul 19, 2012 at 8:06 am
    Aug 1, 2012 at 11:08 am
  • I currently have an algorithm which basically processes every preview frames. I have tried to capture the video using MediaRecorder of SDK, however, apparently I can't access the preview frames while ...
    MkerimMkerim
    Jul 12, 2012 at 9:12 am
    Jul 15, 2012 at 12:02 am
  • Hi, After upgrading to NDK r8b, I suddenly had lots of assertion fails with my previously perfectly working project, which look like ...
    KakyoKakyo
    Jul 25, 2012 at 9:41 pm
    Mar 25, 2013 at 9:20 am
  • Hi all, I'm getting a SIGSEGV when using dynamic_cast. It's a very simple executable(code below) that is built using the standalone toolchain and ran on a Pandaboard with Linaro Android 4.0.3 ...
    CelavekCelavek
    Jul 10, 2012 at 10:20 am
    Dec 31, 2012 at 4:06 pm
  • Hi, I have two threads, each one with its own EGL context. The context of the main thread is shared with the one from the secondary thread. Whenever I call from the secondary thread to ...
    GulfasGulfas
    Jul 18, 2012 at 12:29 am
    Jul 31, 2012 at 1:41 pm
  • Is it possible to quickly deploy JNI library without going though the complete process of building apk. We first do ndk-build and then build apk which takes a little time on dex stage even though no ...
    YMYM
    Jul 17, 2012 at 1:17 pm
    Jul 30, 2012 at 11:12 am
  • We're trying to develop a new Android keyboard app using taps and swipes/flicks as a way to type a key. We've used OnTouchListener to distinguish between a tap (1 finger down data point, 1 finger up ...
    Pn2000Pn2000
    Jul 24, 2012 at 7:48 am
    Jul 26, 2012 at 5:25 pm
  • I'm trying to debug a JNI test app in Eclipse with the NDK support plugin. The test app is similar to the "hello jni" example and I have a breakpoint set in the native function that is called from ...
    Keath MilliganKeath Milligan
    Jul 2, 2012 at 9:11 am
    Jul 16, 2012 at 1:00 pm
  • Hi, how do I obtain a "complex string" delivered by AKEY_EVENT_ACTION_MULTIPLE? The following functions all return 0 when an ACTION_MULTIPLE event is delivered: AKeyEvent_getKeyCode(event) ...
    Andreas FalkenhahnAndreas Falkenhahn
    Jul 9, 2012 at 11:04 am
    Jan 28, 2013 at 4:05 pm
  • Hello, I am trying to debug a application that uses jni, but I encounter problems for 'complex' projects. For my test, I begun with the sample gl2jni included in the ndk. It works well, and I can ...
    BleubleuBleubleu
    Jul 31, 2012 at 12:28 pm
    Aug 30, 2012 at 9:21 pm
  • Either gnu_stl or stl_port is fine. Prefer gnu_stl. I've followed all the steps to download the toolchain sources using the script download-toolchain-sources.sh. I prepared a build dir. I can use ...
    Stephen DammStephen Damm
    Jul 11, 2012 at 9:28 pm
    Aug 12, 2012 at 11:16 am
  • Hi All, My book, Android Apps with Eclipse, has just been published by Apress. I have dedicated two full chapters to Android NDK. The book provides extensive information on how to effectively use the ...
    Onur CinarOnur Cinar
    Jul 4, 2012 at 7:42 pm
    Sep 22, 2012 at 4:57 pm
  • c:/apps/android-ndk-r8b/platforms/android-8/arch-arm/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4 In file included from jni/galaxy/src/../jniutils.hpp:8:0, from ...
    RichardCRichardC
    Jul 19, 2012 at 9:59 am
    Aug 29, 2012 at 2:02 am
  • hi... Am looking for tips, ideas, shared experiences on integrating admob OR other advertisement SDK into Android app that's built around a widget toolkit ported and built using NDK. Any folks here ...
    Nalin SavaraNalin Savara
    Jul 16, 2012 at 3:42 am
    Aug 3, 2012 at 4:14 pm
  • I have an android NDK application.In this application coding in c++ language.There some resource file .C++ aceess this file and show in Mobile.Now I want to open android soft keyboard and write ...
    Maidul IslamMaidul Islam
    Jul 30, 2012 at 4:56 am
    Aug 1, 2012 at 7:10 pm
  • I've followed the example at * http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/*<http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/ (recommended in ...
    MobitinkerMobitinker
    Jul 22, 2012 at 3:54 am
    Jul 25, 2012 at 5:01 pm
  • Currently I have implemented a circular buffer in the java layer using a RandomAccessFile with rw flags. I use this buffer to store up to a max 140MB. This method seems to be rather slow on some ...
    JonaJona
    Jul 21, 2012 at 3:56 pm
    Jul 23, 2012 at 5:18 pm
  • Either way will do. Please setup. I assume you have jb-dev access, which allow N7 image to be built. NDK is only a tool to compile C/C++ code, and this coming one doesn't introduce new API. -- You ...
    Andrew HsiehAndrew Hsieh
    Jul 10, 2012 at 4:53 pm
    Jul 11, 2012 at 8:34 am
  • Hello! (My apologies if this is a repost, I submitted a similar message last week using the web interface and it never appeared, I suspect the fact that I included an URL may have triggered spam ...
    Bjarni Rúnar EinarssonBjarni Rúnar Einarsson
    Jul 2, 2012 at 9:11 am
    Jul 9, 2012 at 4:24 pm
  • Hi, I can develop JNI applications using make files and NDK-Build. I would like to perform a simple gcc compilation on C++ code to create a test executable in the same directory as the source that I ...
    MarcpoloMarcpolo
    Jul 3, 2012 at 4:26 pm
    Jul 8, 2012 at 7:42 am
  • I've successfully built, installed, and run the hello-jni NDK sample app but when I debug it with ndk-gdb, I can't set a breakpiont on the native code because the debugger can't load the .so. I'm on ...
    UnclestonerUnclestoner
    Jul 12, 2012 at 9:38 pm
    Dec 7, 2012 at 12:51 am
  • Dear Friends and Senior Colleagues, I have a android app; that uses parts of Qt widget-set ported to android (ofcourse it's a rough and not perfect and incomplete port) and running on Galaxy Note ...
    Nalin SavaraNalin Savara
    Jul 31, 2012 at 7:24 pm
    Aug 1, 2012 at 11:44 am
  • Hi, I'm a newbie in developing Android Native App. Please pardon my ignorance. I appreciate any suggestion/guidance. My Project is a Test project based on Google Test framework, testing all our ...
    Kathy LKathy L
    Jul 21, 2012 at 11:01 am
    Jul 23, 2012 at 9:17 pm
  • Hi Developers, I have a very strange problem. I'm using a library which uses the libdl to call the function dladdr. Now everytime I try to build my application using this library it complains about ...
    Death_jesterDeath_jester
    Jul 12, 2012 at 11:15 am
    Jul 12, 2012 at 8:43 pm
  • Hi, I use NDK's native activity app glue. I noticed that the application's shared library is not automatically unloaded when the Android application is closed. For example if I exit the application ...
    GulfasGulfas
    Jul 12, 2012 at 11:00 am
    Jul 12, 2012 at 12:36 pm
  • I have already developed Windows application with native code. I have some queries for porting this application to android by using NDK as follows: 1) I am using data structures like list, queue etc ...
    MMMMMM
    Jul 18, 2012 at 10:47 am
    Oct 8, 2012 at 5:22 am
  • Is there any way to get joystick axis data from MotionEvents via the NDK? There doesn't seem to be any equivalent to MotionEvent.getAxisValue(). Do I have to move all my input handling code to Java ...
    David GivenDavid Given
    Jul 24, 2012 at 3:27 pm
    Jul 26, 2012 at 11:05 am
  • I want to compile a standalone binary from C++ sources which use some basic STL stuff like string, vector and so on. If I compile it with 'stlport_static' everything works fine. However with ...
    EzekeelEzekeel
    Jul 17, 2012 at 7:53 pm
    Jul 17, 2012 at 11:19 pm
  • I develop a software library which is distributed as two static libraries, one built for armeabi and one for armeabi-v7a. The armeabi-v7a version also uses some NEON optimizations, but only uses them ...
    Steven MerelSteven Merel
    Jul 10, 2012 at 5:53 pm
    Jul 16, 2012 at 7:13 pm
  • I copy samples/native-activity/* to a folder in my home. Then run *ndk-build NDK_DEBUG=0 V=1* *rm -f ./libs/armeabi/lib*.so ./libs/armeabi-v7a/lib*.so ./libs/mips/lib*.so ./libs/x86/lib*.so rm -f ...
    Progman3KProgman3K
    Jul 15, 2012 at 7:02 am
    Jul 15, 2012 at 6:04 pm
  • Hi, I are trying to port the JNA library to Android. Under conventional operating systems, JNA bundles native libraries inside JAR files and unpacks them at runtime. It's my understanding that ...
    GiliGili
    Jul 10, 2012 at 2:28 pm
    Jul 11, 2012 at 2:23 pm
  • Hi Everyone, I have a timer requirement in which I need to receive timer expiry events when the device is in sleep state also. I think I need to use Android alarm timers (/dev/alarm) here as the ...
    ArunArun
    Jul 23, 2012 at 1:33 pm
    Sep 25, 2013 at 11:34 am
  • I'm trying to learn how to use the NDK by reading the book Android NDK Beginner's Guide by Sylvain Ratabouil. I've set everything up according to the book as best I can (it describes old versions of ...
    Tony HoughtonTony Houghton
    Jul 2, 2012 at 9:12 am
    Nov 16, 2012 at 9:13 am
  • Hi , Anyone please suggest me to find out Function Types and Arguments inside the.SO file. Actually i need to call those functions from java code , there i required function types and arguments. I ...
    Chain_chelliahChain_chelliah
    Jul 19, 2012 at 1:50 pm
    Aug 28, 2012 at 10:04 pm
  • Hi, We compiled ffmpeg for neon as per the link: http://www.roman10.net/how-to-build-ffmpeg-for-android/ We see a crash at avcodec_decode_video2 in our wrapper class. We modified the compile script ...
    B.ArunkumarB.Arunkumar
    Jul 13, 2012 at 6:36 am
    Aug 28, 2012 at 9:24 am
  • Hello, We have some serious problems when trying to debug native code under Jelly Bean on a Google Nexus and on the emulator. We use the normal native debugging chain without the beta NDK plugin for ...
    PTV DeveloperPTV Developer
    Jul 19, 2012 at 8:58 am
    Aug 5, 2012 at 8:01 am
  • Object::Destroy(XXXXX) for OutputMix ignored Object::Destroy(XXXXX) not allowed I encounter this after destroying the attached player object. How do I destroy the OutputMix object? I am running out ...
    Glennward TurtleGlennward Turtle
    Jul 31, 2012 at 10:52 pm
    Aug 1, 2012 at 10:33 pm
  • I have a huge problem, and I don't get understand it, so please help if you can. We have a microcontroller library written in C# which has been converted out into a DLL file. It is okay, and nice. I ...
    Károly HolczhauserKároly Holczhauser
    Jul 31, 2012 at 8:08 pm
    Aug 1, 2012 at 2:46 am
  • What is the proper way of calling dlopen on android? No matter what I do, dlopen can never open any .so files. In all cases, I get variations of *Cannot load library: load_library[1105]: Library ...
    Progman3KProgman3K
    Jul 27, 2012 at 10:04 pm
    Jul 29, 2012 at 5:57 am
  • I have read this<http://android-developers.blogspot.co.il/2011/11/jni-local-reference-changes-in-ics.html , and understand the "stale local reference" error in ICS and up. But, the error I'm getting ...
    EzmoraEzmora
    Jul 24, 2012 at 6:50 pm
    Jul 25, 2012 at 12:37 pm
  • Ok, I'm not entirley sure if this is the right forum, but I've stuck out everywhere else. I have a jni library in one of my apps. It stopped working in my app at around version 2.2 (I think). I have ...
    MomojoMomojo
    Jul 17, 2012 at 5:11 pm
    Jul 22, 2012 at 3:54 pm
  • Hey question. I am trying to understand how everything fits together. Assumptions: 1. you create functions in your own library using the native code (ndk) (eclipse) 2. the build target is API 14 for ...
    Oyin OluwatimiOyin Oluwatimi
    Jul 20, 2012 at 5:41 am
    Jul 21, 2012 at 1:32 pm
Group Navigation
period‹ prev | Jul 2012 | next ›
Group Overview
groupandroid-ndk @
categoriesandroid
discussions171
posts679
users174
websitedeveloper.android.com...

174 users for July 2012

Chris Stratton: 43 posts RichardC: 40 posts Jim Graham: 36 posts David Turner: 29 posts David Given: 27 posts Oyin Oluwatimi: 21 posts James Woodbridge: 17 posts Glenn Kasten: 15 posts Andrew Hsieh: 14 posts Pablo Márquez: 14 posts Progman3K: 13 posts Philippe Simons: 12 posts Andreas Falkenhahn: 11 posts Latimerius: 10 posts Step_jac: 10 posts Marcpolo: 9 posts Pn2000: 9 posts Celavek: 8 posts Nalin Savara: 8 posts Tony Houghton: 8 posts
show more