public void init(){
  if (mContext == null) {
    return;
  }
  if (mName.isEmpty()) {
    mName=mContext.getPackageName();
  }
  if (mMode == INVALID_VALUE || (mMode != MODE_PRIVATE && mMode != MODE_WORLD_READABLE && mMode != MODE_WORLD_WRITEABLE)) {
    mMode=MODE_PRIVATE;
  }
  mSharedPreferences=mContext.getSharedPreferences(mName,mMode);
}

public void init ( ) { if ( mContext == null ) { return ; } if ( mName . isEmpty ( ) ) { mName = mContext . getPackageName ( ) ; } if ( mMode == INVALID_VALUE || ( mMode != MODE_PRIVATE && mMode != MODE_WORLD_READABLE && mMode != MODE_WORLD_WRITEABLE ) ) { mMode = MODE_PRIVATE ; } mSharedPreferences = mContext . getSharedPreferences ( mName , mMode ) ; }
initial the instance of the preferences manager .
