Mārtiņš Možeiko

San Francisco Bay Area

Aug
20
awarded Nice Answer
Aug
5
awarded Guru
Aug
3
awarded Necromancer
Apr
19
awarded Good Answer
Mar
28
awarded Enlightened
Mar
24
awarded Yearling
Feb
11
awarded Caucus
Jan
16
awarded Yearling
Jan
15
comment Missing bridge cast causes error in preprocessed source but not in real source
@MartinR: you should enable ARC to see the error, add -fobjc-arc argument.
Oct
20
awarded Announcer
Apr
28
awarded opengl
Apr
19
awarded Revival
Mar
4
comment No JNI_OnLoad and no return value from native function?
Where are you calling your native code from Java?
Mar
3
comment pass string from java to c++ and using popen with NDK cased errors?
You should always call ReleaseStringUTFChars if GetStringUTFChars succeeded. Even if isCopy!=JNI_TRUE. Also there is no need cast result of c_str() to const char* because it is already const char*.
Feb
21
answered Build and use static library in Android NDK
Feb
19
answered How do you install the required development tools for the Android NDK on Mac OSX 10.8.x
Feb
13
comment running the NDK native-activity sample from a command-line IDE
This works perfectly fine with NativeActivty, I am using am start command for NativeActivity all the time.
Jan
22
comment How to get ndk-gdb working on Android?
ndk-build is command you invoke to build native code. ndk-build script is provided by Android NDK an is located in root of zip/tar.bz2 archive.
Jan
16
comment Sharing a JavaVM* across threads in Android NDK
Here is jni.h file from NDK r8d platforms\android-14\arch-arm\usr\include\jni.h: pastebin.com/04RgHUYN Please show me where is android and AndroidRuntime namespaces.
Jan
6
comment Sharing a JavaVM* across threads in Android NDK
Are you serious? In which line of jni.h there is android namespace (or class) that has AndroidRuntime namespace (or class) that has getJavaVM function?
1 2 3 4 5