JNI, Strings, Modified UTF-8 ... oh my!

While developing some native stuff on Android, I ran into an interesting issue testing the component I developed. The application passed Java Strings between Dalvik and the native component. This data was also passed to and received from a remote server and the remote server always returned UTF-8 string data. While testing with some sample data the application crashed with …

Hello World

Well it’s that time again to start a new blog.