app/src/main/java/uk/lgl/modmenu/FloatingModMenuService.java
@Override
    public void onCreate() {
        super.onCreate();
        Preferences.context = this;
        this.overlayView = new ESPView((Context) this);
        //A little message for the user when he opens the app
        //Toast.makeText(this, Toast(), Toast.LENGTH_LONG).show();
        //Init Lib

        // When you change the lib name, change also on Android.mk file
        // Both must have same name
        System.loadLibrary("bapanff");
        initFloating();
        initAlertDiag();
        startAnimation();
        DrawCanvas();

        final Handler handler = new Handler();
        handler.post(new Runnable() {
            public void run() {
                Thread();
                handler.postDelayed(this, 1000);
            }
        });
    }
//When this Class is called the code in this function will be executed
When this Class is called the code in this function will be executed
When this Class is called the code in this function will be executed
@Override
    public void onCreate() {
        super.onCreate();
        Preferences.context = this;
        this.overlayView = new ESPView((Context) this);
        System.loadLibrary("bapanff");
        initFloating();
        initAlertDiag();
        startAnimation();
        DrawCanvas();
        final Handler handler = new Handler();
        handler.post(new Runnable() {
            public void run() {
                Thread();
                handler.postDelayed(this, 1000);
            }
        });
    }
@ Override public void onCreate ( ) { super . onCreate ( ) ; Preferences . context = this ; this . overlayView = new ESPView ( ( Context ) this ) ; System . loadLibrary ( "bapanff" ) ; initFloating ( ) ; initAlertDiag ( ) ; startAnimation ( ) ; DrawCanvas ( ) ; final Handler handler = new Handler ( ) ; handler . post ( new Runnable ( ) { public void run ( ) { Thread ( ) ; handler . postDelayed ( this , 1000 ) ; } } ) ; }
When this Class is called the code in this function will be executed
When this Class is called the code in this function will be executed
//A little message for the user when he opens the app //Toast.makeText(this, Toast(), Toast.LENGTH_LONG).show(); //Init Lib // When you change the lib name, change also on Android.mk file // Both must have same name