Android Open Source - buttered-toast Xposed Hook






From Project

Back to project page buttered-toast.

License

The source code is released under:

GNU General Public License

If you think the Android project buttered-toast listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * This file is part of ButteredToast.//from www .j a v a 2 s  . com
 *
 * Copyright 2013-2014 Gabriel Castro (c)
 *
 *     ButteredToast is free software: you can redistribute it and/or modify
 *     it under the terms of the GNU General Public License as published by
 *     the Free Software Foundation, either version 3 of the License, or
 *     (at your option) any later version.
 *
 *     ButteredToast is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU General Public License for more details.
 *
 *     You should have received a copy of the GNU General Public License
 *     along with ButteredToast.  If not, see <http://www.gnu.org/licenses/>.
 */

package ca.gabrielcastro.butteredtoast;

import ca.gabrielcastro.butteredtoast.hooks.HookToastShow;
import de.robv.android.xposed.IXposedHookZygoteInit;
import de.robv.android.xposed.XC_MethodHook;

public class XposedHook implements IXposedHookZygoteInit {

    @Override
    public void initZygote(StartupParam startupParam) throws Throwable {
        XC_MethodHook.Unhook show = new HookToastShow().hook();
    }

}




Java Source Code List

ca.gabrielcastro.butteredtoast.Util.java
ca.gabrielcastro.butteredtoast.XposedHook.java
ca.gabrielcastro.butteredtoast.hooks.AutoHookable.java
ca.gabrielcastro.butteredtoast.hooks.HookToastShow.java