I'm looking to start out small, just printing a string when the activity lifecycle changes.
EG onCreate -> onState-> onPause- -> etc. But I kind of don't understand one thing
Maybe my C/C++ skills faded away pretty hard, but how are you supposed to "override" the onXXXX methods located in the android_native_app_glue.c?
For example in java I would extend the Activity class and just do
public void onPause()
{
System.out.println("Activity was paused");
}
Maybe I'm thinking about this all wrong and I'm actually supposed to use the native_activity.h and create my own "glue" file.Also does anyone have some solid tutorials on this topic? Ones that are little be more detailed then the samples that are include with the NDK.
Ones that take baby steps and explain what is actually going on