Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Hint: To get the correct value for combined bits, OSMODE system variable can be also checked with ARES Commander. Type OSMODE in the command line to read the current entity snap settings value.

...

How to log debug information and read from logcat?
Status
colourYellow
titleC++

Android NDK offers a simple way to log information. These logging information will be written to the console of Android Studio. For further details please check Android official website https://developer.android.com/ndk/reference/group/logging . Note: Do not miss to link against Android library log.

Code Block
#include <android/log.h>

int main()
{
    __android_log_print( ANDROID_LOG_INFO , "MY_TAG" , "MY_INFO %d" , 1 );
}