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 = "OAuthHelper";
    private static String errorMessage = "Error during OAuth";

    /**
     * Clients can retrieve error messages statically.
     * 
     * @return errorMessage
     */
    public static String getErrorMessage() {
        Log.i(TAG, "getErrorMessage = " + errorMessage);
        return errorMessage;
    }
}