Adding Logs in JNI Code
I am working with NDK and Android so sometimes I need to debug the native code to see if it’s working properly or not. I wanted something similar to Android’s Log
function.
So here’s how to use log
in Native code.
To use this in some function, just use it as following.
To check value of some variable
P.S. Write OpenCV C++ and use it with NDK. Things are so good.
Playing around with Android UI
Articles focusing on Android UI - playing around with ViewPagers, CoordinatorLayout, meaningful motions and animations, implementing difficult customized views, etc.