public void postOnCreate() { TiConfig.LOGD = systemProperties.getBool("ti.android.debug", false); // Register the default cache handler File cacheDir = new File(new TiFileHelper(this).getDataDirectory(false), "remote-image-cache"); if (!cacheDir.exists()) { cacheDir.mkdirs(); } TiResponseCache.setDefault(new TiResponseCache(cacheDir.getAbsoluteFile(), this)); }
private static boolean launchAppOnClick() { TiProperties appProperties = TiApplication.getInstance().getAppProperties(); return appProperties.getBool(PROPERTY_PREFIX + PROPERTY_SHOW_APP_ON_CLICK, false); }