Java tutorial
//package com.java2s; import android.content.Context; import android.content.pm.PackageManager.NameNotFoundException; public class Main { public static boolean isGXModSystemUI(Context context) { Context mContext = null; int id = 0; try { mContext = context.createPackageContext("com.android.systemui", Context.CONTEXT_RESTRICTED); id = mContext.getResources().getIdentifier("custom_SystemUI0_3", "bool", mContext.getPackageName()); } catch (NameNotFoundException e) { return false; } return id > 0; } }