Search Discussions

111 discussions - 371 posts

  • When using android_native_app_glue I have found the APP_CMD_PAUSE does not seem to be handled properly. In the app_glue a second thread handles the commands and a mutex/condvar syncs the 2 threads. ...
    Oct 12, 2011 at 3:17 pm
    Oct 17, 2011 at 2:37 pm
  • Hi, after looking around for a solution to debug my OpenGL app in a multi-threaded env, using the ndk, I finally decided to try to have it in the main thread. So how can I force OpenGL context to be ...
    Tiziano SardoneTiziano Sardone
    Oct 26, 2011 at 5:47 pm
    Oct 28, 2011 at 5:41 am
  • Hi, I'm having trouble running ndk-gdb on a Samsung i9000 phone with Gingerbread 2.3.3. Running in --verbose mode it just stop after founding a PID 0 (that seems to me wrong). The same procedure ...
    Tiziano SardoneTiziano Sardone
    Oct 13, 2011 at 5:54 pm
    Oct 26, 2011 at 5:04 am
  • Hi, Could somebody let me know how to compile FFMPEG on Android with Neon support? I have used the instructions from this link: http://www.android-dev.ro/2011/06/14/compiling-ffmpeg-on-android/ to ...
    Oct 31, 2011 at 9:05 pm
    Nov 7, 2011 at 7:13 am
  • I took bambuser ffmpeg, and ran build.sh then NDK build for my application. I coppied all generated .so file to libs/armeabi folder to android java side. When I trying to load ...
    Oct 14, 2011 at 8:16 pm
    Oct 18, 2011 at 2:18 pm
  • Anyone know if ChucK has been ported to Android? Cheers! -- You received this message because you are subscribed to the Google Groups "android-ndk" group. To post to this group, send email to ...
    Christopher Van KirkChristopher Van Kirk
    Oct 4, 2011 at 12:58 am
    Oct 4, 2011 at 3:43 pm
  • I'm trying to compile an application that is based on GCC for Android. However, it is my understanding that Android does not provide native GNU C libraries but rather a Bionic C library. Is it ...
    Roger CruzRoger Cruz
    Oct 19, 2011 at 1:21 pm
    Oct 21, 2011 at 3:26 am
  • Hi, Does anyone know whether/how it'd be possible to link to the V8 library that's included in Android platforms in NDK without having to build it separately? Thanks, Shahab -- You received this ...
    Oct 11, 2011 at 12:09 pm
    Oct 14, 2011 at 4:40 am
  • i am having this error while compiling , what this means..! android-ndk-r6$ make APP=ndk1 Android NDK: Building for application 'ndk1' Android NDK: WARNING: Unsupported source file extensions in ...
    Oct 8, 2011 at 7:46 am
    Oct 12, 2011 at 9:24 am
  • Hi We are compiling our engine for armv7-a and armv5te (on windows, using gcc 4.4.3) the v7-a version works just fine, while the armv5te version crash just after the lib is loaded inside some static ...
    Louise CypherLouise Cypher
    Oct 6, 2011 at 1:46 pm
    Oct 12, 2011 at 7:12 am
  • Hi! (sorry for my buggy english) I'm tying to use ANativeWindow, but keep having troubles with the scaling. It works perfectly on a Asus Transformer (3.2), but not on other devices and not even in ...
    Alex H.Alex H.
    Oct 6, 2011 at 2:17 pm
    Feb 10, 2014 at 10:43 am
  • I wonder if it's possible to fread(and f-thing stdio functions) files in assets folder of apk. The code below always lose response. #include <android/asset_manager.h #include ...
    Oct 14, 2011 at 8:17 pm
    Dec 18, 2013 at 3:07 pm
  • Hello, I have a project which I want to convert from iphone to android. IPhones does not allow a link to icu libaries because of some hidden api calls, therefore I have included .h and .c files of ...
    Oct 5, 2011 at 7:41 am
    Jul 31, 2012 at 10:25 am
  • Hi there. It seems like once upon a time there was a utility that enabled one to parse a native code crash dump (like the one attached). It used to be here: ...
    Christopher Van KirkChristopher Van Kirk
    Oct 12, 2011 at 2:28 pm
    Oct 13, 2011 at 11:44 am
  • Greetings, (cross posted from Android Developers; this is probably a better place to ask this question). I am looking into porting a c++ application to Android 2.3 and above. This application runs a ...
    Oct 24, 2011 at 12:52 pm
    May 4, 2012 at 3:31 pm
  • I did a ndk-build on the NativeActivity sample, then opened it in eclipse and tried to run it. It complained that the project was missing a "src" directory, so I added an empty "src" directory. That ...
    Oct 31, 2011 at 9:06 pm
    Dec 9, 2011 at 3:43 am
  • Hi, I tried to run hello-neon app in 2.3.3 Emulator and I got the following output FIR Filter benchmark: C version: 2104.32 ms Neon Version : Not an ArmV7 CPU! I saw this posting ...
    Oct 31, 2011 at 9:05 pm
    Dec 5, 2011 at 5:04 pm
  • I am building a library which depends on a a prebuilt library. This prebuilt library in turn depends on the GL system library. However, I am finding issues when I am referring to this library when ...
    Deepak subramanianDeepak subramanian
    Oct 25, 2011 at 10:48 am
    Nov 10, 2011 at 9:39 pm
  • Hi, I was wondering if an NDK developer/maintainer could explain what exactly was done in r6b to fix the toolchain linker warnings for the "__dso_handle" symbol. From changelog: * Fixed the ...
    Ken RKen R
    Oct 31, 2011 at 9:07 pm
    Nov 7, 2011 at 12:11 pm
  • Hello, I am making an app which uses iptables nat table to forward packets to proxy server. When I run iptables -L on my device, I got iptables v1.3.7: can't initialize iptables table `filter': ...
    Oct 31, 2011 at 9:06 pm
    Nov 4, 2011 at 4:45 am
  • I have a problem that I can't get past. The problem is with ndk-gdb. It reports this error: /cygdrive/c/android-ndk-r6b/build/core/ndk-common.sh: line 538: Files/ ...
    Oct 24, 2011 at 12:52 pm
    Oct 30, 2011 at 3:12 pm
  • Hi! I have some troubles understanding the native stack traces. For instance, I can lookup function names where stack trace looks like this: #00 pc 00015760 /data/data/si.my.prog/lib/libbridge.so #01 ...
    Oct 24, 2011 at 7:00 pm
    Oct 25, 2011 at 3:37 pm
  • I am trying to implement an input option for Xperia Play touch controls in one of my projects. The only way to get this input is through a NativeActivity, but I don't want to rewrite my entire ...
    Paul LambPaul Lamb
    Oct 18, 2011 at 12:49 am
    Oct 22, 2011 at 1:42 am
  • Hello, everybody, my application silently crash (in the sense the activity is closed and go back to the preceding activity without any errors) The problem is in the logcat there is no reference to my ...
    Oct 31, 2011 at 9:05 pm
    Nov 12, 2011 at 6:18 pm
  • Hi all: Now I find that when I use 3G+USB_tethering. my PC can't access any website. but,it can access MSN, access ftp, it can sand and receive Email with Email-client(such as Evolution). and it just ...
    Oct 28, 2011 at 2:43 pm
    Nov 4, 2011 at 4:47 am
  • Hi, I'm writing an NES emulator for fun. In my main 6502 emulation loop I need to dispatch on an 8-bit opcode to instruction-specific handlers. There seems to be two common approaches: 1. Use a ...
    Ulf MagnussonUlf Magnusson
    Oct 12, 2011 at 10:00 pm
    Oct 14, 2011 at 1:09 am
  • Hi,I have a need to compress blocks of memory prior to sending it over the network from within my C library; Rather than port some big library such as Zlib, I would like to check if the NDK has any ...
    Luiz ValdetaroLuiz Valdetaro
    Oct 6, 2011 at 11:56 pm
    Oct 11, 2011 at 9:43 am
  • hi all i have class fractions with 2 file fractions.h: class fractions{ private: int numerator; int denominator; public: fractions(){ numerator=0; denominator=1; } float value(); } fractions.cpp: ...
    Khoa HoàngKhoa Hoàng
    Oct 5, 2011 at 2:44 pm
    Oct 7, 2011 at 2:04 am
  • I've scoured the forums and tried a handful of different methods to get hello-jni to build and install correctly whenever the c code changes. Also, I need to be able to set a simple c++ breakpoint in ...
    Jason MalliosJason Mallios
    Oct 7, 2011 at 4:08 pm
    May 7, 2012 at 3:11 pm
  • Hallo, I ported parts of a game engine to Android. I use native code only. I don't use Eclipse, I use Visual Studio 8 to edit my C++ code and Cygwin to compile. I run "ant" and "adb install" from the ...
    Oct 31, 2011 at 9:08 pm
    Nov 2, 2011 at 10:14 pm
  • Ok, it's now been 48 hours since my original post, and 24 hours since my second attempt (both via e-mail). Clearly, there's a problem with my posting via e-mail (just as I had for months with the ...
    Oct 31, 2011 at 9:06 pm
    Nov 2, 2011 at 6:50 am
  • I'm working with NDK r6b. If I just add APP_STL := stlport_shared to Application.mk, I see the libstlport_shared.so being copied in the obj directory, but not into the libs directory. If I also add ...
    Oct 21, 2011 at 3:13 am
    Oct 25, 2011 at 12:14 pm
  • Hey, I built a .so lib with NDK 6 linking gnustl_static which uses exceptions (automatically enabled by gnustl_static) and is used through JNI bindings by Android Apps written in Java. This works ...
    Oct 11, 2011 at 10:32 pm
    Oct 19, 2011 at 11:41 am
  • Hi, I have already built C native code, i want an android application which should include the functionalities in th prebuilt C code?? Is this possible??? Regards -- You received this message because ...
    Oct 11, 2011 at 12:09 pm
    Oct 12, 2011 at 4:59 am
  • My application lower layer is in C language .. i tried to execute "stat" command in .c file .. it returns file exists but whether its regular file or not failing .. can any body help me on this.. -- ...
    Oct 11, 2011 at 12:09 pm
    Oct 11, 2011 at 8:38 pm
  • Hi I have my C compiler as CC=/home/Development/Android/android-ndk- r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm- linux-androideabi/bin and keep getting gcc: error trying to ...
    Kim HuynhKim Huynh
    Oct 4, 2011 at 2:34 pm
    Oct 4, 2011 at 4:09 pm
  • llvm.org I've built llvm-gcc 4.2.1 for the NDK and it works fairly well. I use it for a special purpose, it wouldn't be much of an advantage compared to just using the NDK's prebuilt tools. The clang ...
    Oct 11, 2011 at 10:33 pm
    Nov 16, 2012 at 9:41 am
  • Hi there, I target Android 1.6 upwards for my mainly native applications. Some of the non native parts include SFX/music (I don't believe there was a native option for audio in Android 1.6 - is it ...
    Oct 26, 2011 at 10:17 am
    Oct 31, 2011 at 9:05 pm
  • maybe I can just get some advice on how to structure my projects I'm getting erroneous additions to my LOCAL_PATH, but I'm doing my best to follow the NDK documentation. Thanks in advance Description ...
    Bourke Floyd IVBourke Floyd IV
    Oct 29, 2011 at 10:20 pm
    Oct 31, 2011 at 3:01 am
  • The Android JNI header has a subtle difference in the declaration of some methods, for example, the JavaVM method: // Android jint AttachCurrentThread(JNIEnv** p_env, void* thr_args); // non-Android ...
    William S FultonWilliam S Fulton
    Oct 18, 2011 at 10:50 am
    Oct 21, 2011 at 8:31 am
  • I'm getting ready to release my app, and trying out an obfuscated release build. When I obfuscate, my native code crashes on calls to JNIEnv::GetStringUTFChars(). It works perfetly when not ...
    Oct 14, 2011 at 11:59 pm
    Oct 17, 2011 at 10:45 pm
  • Hi android-ndk, is it possible in future NDK releases for gnustl_static library be built with "-fvisibility=hidden -fvisibility-inlines-hidden -g0" flags? That will scientifically decrease shared ...
    Zoran AngelovZoran Angelov
    Oct 10, 2011 at 7:29 am
    Oct 12, 2011 at 12:57 pm
  • I am trying to use ARM Realview compiler chain, to evaluate its auto- vectorization code generation for NEON. Looking at an earlier post I understand that I have to link my project together with the ...
    Oct 11, 2011 at 10:32 pm
    Oct 12, 2011 at 2:14 am
  • Can somehow tell ndk-build to pass a "-Dxxx" flag to the compiler ? (reason: I have two versions of my app that'd I'd like to be able to build automatically from ant) -- You received this message ...
    Ó. EgilssonÓ. Egilsson
    Oct 6, 2011 at 1:13 pm
    Oct 6, 2011 at 4:21 pm
  • Hello, My application uses Native C++/C code with sqlite3 to make some calls to the sqlite database. I have everything compiled in NDK and it seems to be creating the .so lib just fine. When I try to ...
    Oct 5, 2011 at 8:00 pm
    Oct 5, 2011 at 9:56 pm
  • I noticed the following notice in the Java Equalizer class documentation "NOTE: attaching an Equalizer to the global audio output mix by use of session 0 is deprecated. " [1] The same note was added ...
    Pl bossartPl bossart
    Oct 24, 2011 at 4:16 pm
    Aug 11, 2012 at 4:58 am
  • Ok, so I made a game that loads a 3d wavefront obj file. It works, but the loading takes like 7 seconds. So, my plan is to write the loading in JNI, but I need to flesh the plan out. So, I have a few ...
    Oct 23, 2011 at 2:30 pm
    Nov 10, 2011 at 9:11 am
  • Hi, I tried to run hello-neon app in 2.3.3 Emulator and I got the following output FIR Filter benchmark: C version: 2104.32 ms Neon Version : Not an ArmV7 CPU! I saw this posting: ...
    Oct 31, 2011 at 9:05 pm
    Nov 6, 2011 at 6:08 am
  • Hey guys I have built a *.so file and the program works fine on HuaWei- U8500.Today I wanna try it on MOTO ME860,It just could not load the library giving the errors as follows: LIB LOAD FAILED: ...
    Oct 31, 2011 at 9:07 pm
    Nov 4, 2011 at 2:39 am
  • Hi, I am new to NDK. How can I use third party c libraries in NDK. Please help me. Thanking you. -- You received this message because you are subscribed to the Google Groups "android-ndk" group. To ...
    Oct 31, 2011 at 9:07 pm
    Nov 2, 2011 at 5:39 am
Group Navigation
period‹ prev | Oct 2011 | next ›
Group Overview
groupandroid-ndk @

130 users for October 2011

David Turner: 46 posts Christopher Van Kirk: 14 posts Dianne Hackborn: 9 posts Tiziano Sardone: 9 posts Brian Edmond: 8 posts Cédric OCHS: 8 posts Wolftag: 8 posts Louise Cypher: 7 posts Mingw android: 7 posts Roger Cruz: 7 posts Wil Hadden: 7 posts Krystian Bigaj: 6 posts Sujata khindri: 6 posts Ulf Magnusson: 6 posts Zoran Angelov: 6 posts Abhi: 5 posts GilD: 5 posts Nick: 5 posts Tim Mensch: 5 posts Arun kumar: 4 posts
show more