Java tutorial
//package com.java2s; import android.content.Context; import android.preference.PreferenceManager; public class Main { public static boolean isStatusBarIconHidden(Context context) { return PreferenceManager.getDefaultSharedPreferences(context).getBoolean("status_bar_hidden", false); } }