Back to project page txttr.
The source code is released under:
MIT License
If you think the Android project txttr listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.izgoy.txttr; //from w w w . ja va 2s .c om import android.app.Application; import android.content.Context; import android.content.SharedPreferences; public class TxttrApplication extends Application { public static final String PREFS_SETTINGS = "settings"; public static final String PREFS_USERS = "users"; public static final String PREF_ENABLED = "enabled"; public static final int MIN_NICK_LENGTH = 2; public static final int MAX_NICK_LENGTH = 2; public static SharedPreferences getSettings(Context context) { return context.getSharedPreferences(PREFS_SETTINGS, Context.MODE_PRIVATE); } }