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 {
    /**
     * Convenience wrapper around Log.d to print a debug string as:
     * 
     * <code>onActivityResult: requestCode = <b>value</b>, resultCode = <b>value</b></code>
     *  
     * @param tag THe calling classes tag
     * @param requestCode the request code used when launching the Activity
     * @param resultCode the result code returned by the Activity
     */
    public static void logActivityResult(String tag, int requestCode, int resultCode) {
        Log.d(tag, "onActivityResult: requestCode = " + requestCode + ", resultCode = " + resultCode);
    }
}