I'm trying to render a 640x480 RGB565 image using OpenGL ES on Android using GLSurfaceView and Native C code.
Initially I had a 0x0501 error with glTexImage2D, which I was able to resolve by changing the image dimensions.
But now, in the "drawFrame" call, when I do glDrawTexiOES to resnder the texture, I'm getting the following error o...
While I can debug my application with the Eclipse JDT debugger for Java code and GDB for C code, I would prefer to use a single tool for all my debugging. I found several projects that enable "mixed-mode" debugging in Eclipse and include support for single stepping between Java and native code.
Intel's Integrated Debugger for Java/JNI...
I want to make an Android application using huge third party native libraries which use the Gnu build tools (gnu makefile).
My question is how to write the "Android.mk" files for these libraries in order to build them using the Android build system or the Android NDK.
Thanks in advance
...
It seems that this question has been asked before, I just would like to know whether there is an update in Android.
I plan to write an audio application involving low delay audio I/O (appr. < 10 ms). It seems not to be possible based on the methods proposed by the SDK, hence is there - in the meantime - a way to achieve this goal using ...
The Android SDK includes the Android NDK, which in turn contains a customised GCC based tool chain for Android on ARM processors; The question is how to build the NDK tool chain to run on Windows to target x86 Android?
The tool chain is already setup to build on Windows (cygwin) targeting ARM;
There are also existing pre-built (unoffici...
Hi all, Please help
I'm trying to build a third party library which uses auto-generated
source code files.
In normal case, this kind of files is generated by gnu build tools.
My question is How can I tell the Android NDK build tools to generate and build this kind
of files.
Thanks in advance
...
I have several apps which I wrote using the standard SDK. They all connect to RFCOMM devices using bluetooth, so at present, I can only support devices which are 2.0 or newer.
What options are available for backporting a bluetooth app to pre-2.0 apps while re-writing as little code as possible?
Thank you.
...
Hi everyone!!! I want to use the OpenCV Android porting, that you can find HERE, to make some image transformations for an Augmented Reality application. I've found no problem configuring and building the library, I receive no error and I succed put it within my Android application throght JNI process: the library libopencv.so is in the ...
Is it possible to programmatically restart the phone from a application (service) running on top of the Dalvik VM?
If the SDK does not provide this functionality, then how about using the NDK and calling some functions provided by the kernel? I know this option is not preferred (not stable enough libs), but if it's the only option, I'll...
Just a quick question as Google isn't throwing up much.
Is it possible to create a VPN connection using native code in
Android?
And if so does the VPN offer support for keep alives?
...
I m working on android application in which I used JNI for native c code.
I build this application on android 2.0 version and ndkr3 and it works fine.
Now when I changed the android sdk version 1.5 and api version 3 I faced problems of unable to open library libtest_demo.so.
05-13 16:54:23.603: INFO/dalvikvm(1211): Unable to dlopen(/d...
Hi all,
I've recently obtained an HTC Desire and I'm interested in porting my 3D engine to the device. I have a slight annoyance however. I'd love to be able to do development under Visual Studio 2008. Am I to assume I'm going to need to re-process my SLN files to do GCC builds? Its not a vast issue as I already have an application...
I'm trying to build dschaefer android-box2d, and did follow the recipe.
I do get this error when trying to build the TestBox2d with eclipse:
make all
/cygdrive/c/android/android-ndk-r3/build/prebuilt/windows/arm-eabi-4.2.1/bin/arm-eabi-ld \
-nostdlib -shared -Bsymbolic --no-undefined \
-o obj/libtest.so obj/test.o -L../box2d/lib/andro...
I'm porting android to Devkit8000 which is a BeagleBoard clone. I have a GPS module connected on /dev/ttyS0. I could successfully get NMEA output when writing "cat /dev/ttyS0" in the terminal emulator.
I want to know how to let android know that there is a GPS module on /dev/ttyS0 and it is outputting NMEA standard? To be able to use th...
How do I remove strings from / obfuscate a compiled binary? The goal is to avoid having people read the names of the functions/methods inside.
It is a dynamic library (.so) compiled from C++ code for Android with the NDK tools (includes GCC)
I compile with -O3 and already use arm-eabi-strip -g mylib.so to remove debugging symbols, but ...
Following directions on Android's main website to pull down sources, I'm looking at this command to initialize repo for the cupcake branch:
repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake
How can I view all available branches besides cupcake, i.e eclair, donut, etc...?
...
Hello Everybody,
I used a SurfaceView and EGL to render my 3D contents. When I press BACK and return my activity, the activity's 3D objects become to white.
The reason is when the original activity(3D activity) resume, EGL would initialize again.
So EGL would initialize and destroy everytime when different activities switch. I am no...
I installed the latest version of the Android NDK (r4) on Windows, plus a fresh installation of cygwin with the required packages, latest Android SDK, Eclipse + Android plugins.
Whenever I try to build any of the JNI code from cygwin (Be it the samples from the NDK, or a custom project), I'm getting:
$ make APP=demo
Android NDK: Buildi...
I have the following questions, please if you know the answers share it with me.
How can I transform my working Java code to NDK? (it's an algoritm not activity)
I am able to access the database from NDK?
Will a backtracking algorithm with 10 millions of iterations run faster if was written with NDK?
...
Hi,
I am C++ developer interested in Android. As I understand the only possibility to develop applications for Android is Java. There is NDK also, but as I can see it is just something like JNI for Java. Is it mandatory to learn Java or to have deep knowledge in Java then try Android SDK, or it would be possible to learn Java while deve...