[problem] invoke "super" methods

2,363 posts
Thanks Meter: 1,183
By defim, Senior Member on 20th July 2014, 06:52 PM
Post Reply Subscribe to Thread Email Thread
I'm searching a way to invoke super methods within a before hook.
This is needed for Android's activity lifecycle, like onCreate onResume onPause onDestroy etc
Is it seems not possible at the moment, so i think Xposed has to be extended :-/
21st July 2014, 01:18 AM |#2  
GermainZ's Avatar
Forum Moderator / Recognized Developer / XDA Portal Team
Thanks Meter: 8,507
It's not possible directly via reflection. You can call it as a static method (assuming it is static), or get an instance of the super class and call the method you want.
21st July 2014, 03:53 PM |#3  
defim's Avatar
OP Senior Member
Thanks Meter: 1,183
I'm using most time the reflection methods, not the wrapper of xposed. So finding the methods in the super class is not the problem, but executing with the context of the hooked class does not work, because not the method of the super class is invoked
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes