monkeylord/XposedTemplateForAS
关于
自动化创建Xposed模块及钩子,让Xposed模块编写时只需关注钩子实现。Xposed Android Studio Template, automatic module creating along with some useful code.
效率与自动化实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文XposedTemplateForAS
自动化创建Xposed模块及钩子,让Xposed模块编写时只需关注钩子实现。
These templates automatically create Xposed Module and Hooks, helping module coder focusing on essential implement.
模版安装/How to Install
将模板文件夹(注意不是GIT文件夹)放置在 Android Stuido安装位置\plugins\android\lib\templates\other 然后重启AS
Copy templates(not the whole git project) to [Android Stuido Install Path]\plugins\android\lib\templates\other
Then, restart Android Studio.
模版使用/How to Use
在write your code处写钩子内容实现即可。
Implement your hook at "write your code".
创建模块/Create Module
新建空工程->右键New->Xposed->Xposed Module
Create a new project
right click your package ->New -> Xposed -> Xposed Module
创建方法钩子/Create Hook
右键New->Xposed->Xposed Hook
right click your package ->New -> Xposed -> Xposed Hook
跟踪方法调用-Tracer
用于方法函数,将方法的参数及结果在Xposed日志中打印。
A pre-made hook designed to print argruments&result in XposedBridge.Log
动态修改参数结果-GS_Net
用于动态篡改方法的参数和结果,使用方法见内部说明。
A pre-made hook designed to dynamically modify arguments&result with a help of an HTTP server.
时机模板/Timing
方便在应用启动、界面启动等时机注入,使用方法:
Help you to inject your code on other timing.(eg. onApplicationAttach)
new Timing(loadPackageParam,true){
@Override
protected void onApplicationAttach(Context context) {
super.onApplicationAttach(context);
//do sth
}
//还可以实现其他时机对应的方法
};
探索相关项目
加载中…