Java tutorial
//package com.java2s; import android.content.Context; import java.io.File; public class Main { public static void clearLoginResult(Context context) { File signinFile = new File(context.getFilesDir(), "signin"); if (signinFile.exists()) { signinFile.delete(); } } }