Although there are similar questions (such as this and this), their answers do not solve my problem.
I’m using Android Studio 1.5.1 targeting Android API 18 (before Android KitKat 4.4, so I’m dealing with Dalvik, not ART runtime).
My questions are:
(1) Is it possible to invoke Dalvik internal methods using reflection? If so, can you show a code example? For example, Dalvik has its own stack which is located in the source code here (Interpreter), can I call the function dvmDumpRunningThreadStack() via reflection?
(2) If (1) is not possible because the stack is written in native code, is it possible to invoke any Dalvik internal method using reflection? If so, can you show a code example? For example, Dalvik has many methods located in the source code here (Dalvik), can I call any method there via reflection?
Aucun commentaire:
Enregistrer un commentaire