Code Monkey home page Code Monkey logo

xposedtemplateforas's Introduction

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
    }
    //还可以实现其他时机对应的方法
};

xposedtemplateforas's People

Contributors

monkeylord avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.