Java tutorial
//package com.java2s; import android.content.Context; import android.provider.Settings.System; public class Main { public static final int UNCLICK = 1; public static final String EASY_OPERATION_CLICK_DTATUS = "easy_operate_state_tag"; public static int getEasyTag(Context context) { synchronized (EASY_OPERATION_CLICK_DTATUS) { return System.getInt(context.getContentResolver(), EASY_OPERATION_CLICK_DTATUS, UNCLICK); } } }