Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.io.File;

import android.content.Context;

public class Main {
    private static final String fileName = "eventsInfo.xml";

    public static File getEventsPath(Context context) {
        return new File(context.getCacheDir().getAbsolutePath() + "/info", fileName);
    }
}