Android get process name in JNI/Native

Found this nice global API to fetch the process name in native code.

                      include "cutils/process_name.h"

                     /** Gets the current process name. */
                     const char* get_process_name(void);

Comments

Popular posts from this blog

Android Shared User ID and android:process

Android's Watchdog daemon

Android : Watchdog is killing system server