Found this nice global API to fetch the process name in native code.
include "cutils/process_name.h"
/** Gets the current process name. */
include "cutils/process_name.h"
/** Gets the current process name. */
const char* get_process_name(void);
No comments:
Post a Comment