Skip to content

API Module example

mywalkb edited this page Apr 13, 2022 · 1 revision

Here there is an example module with access to API

  • Just make a basic xposed module
  • Download from actions xposed_service-release or xposed_service-debug
  • Rename from zip to jar
  • Copy xposed_service-release.jar in your /<module name app/libs
  • Add this dependency to dependencies

implementation fileTree(include: ['xposed_service-release.jar'], dir: 'libs')

With getSystemService("LSPosed") you got an IBinder, it's return null if the module is not enabled or in hooked app.

IXposedService.Stub.asInterface((IBinder)getSystemService("LSPosed"))

Now you can control scope from your module and got some infos from LSPosed

Clone this wiki locally