摘要:
public class Test { public static boolean isHex(String str) { boolean isHexFlg = true; int i = 0; char c; for (i = 0; i = '0' ) && ( c = 'A' ) && ( c = 'a' ) && ( c <= 'f' ) ) ) { isHexFlg = false; } } ret... 阅读全文
摘要:
SharedPreferences easy useimport android.content.Context;import android.content.SharedPreferences;import android.content.SharedPreferences.Editor;import android.preference.PreferenceManager;public class PreferenceUtils { public static String getPrefString(Context context, String key, final Strin... 阅读全文