/**
* 设置是否为第一次安装标识
*
* @param isfavorites 喜好标识
* @return
*/
public boolean setFristInstall(boolean isfavorites) {
Editor editor = getEditor();
editor.putBoolean(FRISTINSTALL, isfavorites);
return editor.commit();
}
/**
* get 安装标识
* @return
*/
public boolean getFristInstall() {
SharedPreferences pref = getSharedPreferences();
return pref.getBoolean(FRISTINSTALL, true);
}