摘要: PreferenceManager和editor的使用mSettings = PreferenceManager.getDefaultSharedPreferences(this); /* Check if it's the first run */ mFirstRun = mSettings.getInt(PREF_FIRST_RUN, -1) != mVersionNumber; if (mFirstRun) { Editor editor = mSettings.edit(); editor.putInt(PREF_... 阅读全文
posted @ 2013-10-28 15:57 crowinhell 阅读(281) 评论(0) 推荐(0) 编辑