[android-developers] Force ndk-build to use c++ compiler

2012-01-20 Thread M J
Hey guys, I have another problem. I want to compile all my files (*.c and *.cpp) with a c++ compiler. How can I tell ndk-build to do that? Currently it decides to use a normal c-compiler to compile *.c files and a c++- compiler to compile *.cpp files. -- You received this message because you

[android-developers] Re: Force ndk-build to use c++ compiler

2012-01-20 Thread M J
Thanks, I will try On 20 Jan., 16:56, Mark Murphy mmur...@commonsware.com wrote: You may have better luck asking that on the android-ndk Google Group. On Fri, Jan 20, 2012 at 10:54 AM, M J fakeacc...@googlemail.com wrote: Hey guys, I have another problem. I want to compile all my

[android-developers] Re: JNI and caching jobject thiz?

2012-01-16 Thread M J
and android related, instead more or less something related to Reflection and the Dynamic Invocation API. Good luck ! Frank On 13 Jan., 11:11, M J fakeacc...@googlemail.com wrote: Hey guys, I nned your help. I am currently developing an application which uses JNI and native sockets

[android-developers] JNI and caching jobject thiz?

2012-01-13 Thread M J
Hey guys, I nned your help. I am currently developing an application which uses JNI and native sockets. The problem is that I have to call Java code if some packages arrive on the native socket connection. Currently I am using CallVoidMethod to do that. The JNIEnv cannot be cached so I get it

[android-developers] native udp socket sleep mode

2011-12-19 Thread M J
Hey guys, I am currently developing an app, where I need a udp connection to a server. The code which communicates with the server is written in C, so I am using the ndk and I open a posix udp socket. I send every 30 seconds a message to the server to register and to keep the connection alive.

[android-developers] Adding number to contact

2011-09-30 Thread M J
Hey, I really need your help. All I want to do is adding a number to an existing contact with a specific label and the ability to remove numbers again. I really tried a lot of things, but none of it works for me. I want only support the contacts api 2.0 and not 1.6. And I do not want to create