Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.util.Log;

public class Main {
    public static final String TAG = "MagicMode";
    private static final boolean DEBUG_STATHI = true;

    /**
     * Logging: we do this way so we can ./adb logcat -s MagicMode:*
     * @param s
     */
    static public void d(String s) {
        if (DEBUG_STATHI == true)
            Log.d(TAG, s);
    }
}