Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.content.Context;

public class Main {
    private static String getString(Context context, int id) {
        if (id == 0) {
            return null;
        }
        return context.getString(id);
    }
}