Is there a way to get current process name in Android

后端 未结 11 1747
-上瘾入骨i
-上瘾入骨i 2020-12-03 00:59

I set an Android:process=\":XX\" for my particular activity to make it run in a separate process. However when the new activity/process init, it will call my Application:onC

11条回答
  •  有刺的猬
    2020-12-03 01:19

    If I've understood your question correctly, you should be able to use ActivityManager, as per this thread.

提交回复
热议问题