private static Context mContext;
+ // TODO better place
+ private static boolean mOnlyOnDevice = false;
+
+
public void onCreate(){
super.onCreate();
MainApp.mContext = getApplicationContext();
public static String getLogName() {
return getAppContext().getResources().getString(R.string.log_name);
}
+
+ public static void showOnlyFilesOnDevice(boolean state){
+ mOnlyOnDevice = state;
+ }
+
+ public static boolean getOnlyOnDevice(){
+ return mOnlyOnDevice;
+ }
// user agent
public static String getUserAgent() {