Sunday, December 30, 2012

Crystax. Just because Google can't.

Today running through habrahabr search results for 'ndk', found almost 1-year-old article about Crystax - "improved Android NDK". Ok, I added it to Favourites' 'android' folder. A few hours later trying to port existing C code to Android with NDK r8d got missed reference for 'wctomb' function. It was like existing in included headers, but compilation failed. Adding
LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
resulted in successful compilation and runtime error on device. Started googling, and found a lot about missing wide characters support in official NDK. And then came back to Crystax page.
Features supported by CrystaX NDK:
1.Wide characters.
Google's NDK doesn't support wide chars properly - neither in C or C++. Using CrystaX NDK you get full standard compliant wide characters support. You can easily port existing code which use wide characters/strings/streams or write new one.
Nice :) It compiles, it works without exceptions.

And yes, I will try to write more about my programming adventures.