@Override public void onCreate() { super.onCreate(); REF_SMART_APPLICATION = this; SmartUtils.setNetworkStateAvailability(this); smartApplicationConfiguration = new ApplicationConfiguration(); loadConfiguration(); AQUtility.setCacheDir(new File(SmartUtils.getStorageDirectory())); @SuppressWarnings("unused") SmartFrameworkSecurity smartFrameworkSecurity = new SmartFrameworkSecurity(this); // if (smartFrameworkSecurity.matchKey(securityKey)) { if (IS_SHARED_PREFERENCE_ENABLE) { sharedPreferences = getSharedPreferences(SHARED_PREFERENCE_NAME, MODE_PRIVATE); } if (IS_DB_ENABLE) { try { dataHelper = new SmartDataHelper( getApplicationContext(), DATABASE_NAME, DATABASE_VERSION, DBSQL, getSmartVersionHandler()); } catch (IOException e) { e.printStackTrace(); } } /*if(readSharedPreferences().getBoolean(IS_APPLICATION_LAUNCHED_FIRST_TIME,true)){ SmartUtils.SetIsApplicationLaunchedFirstTime(true); writeSharedPreferences(IS_APPLICATION_LAUNCHED_FIRST_TIME,false); }else{ SmartUtils.SetIsApplicationLaunchedFirstTime(false); }*/ }