package org.commcare.android.logic;

public class GlobalConstants {
	
	public static final String FILE_CC_INSTALL = "install";
	public static final String FILE_CC_UPGRADE = "upgrade";
	public static final String FILE_CC_CACHE = "cache";
	public static final String FILE_CC_MEDIA = "media/";
	public static final String FILE_CC_LOGS = "logs/";
	
	public static final String FILE_CC_ATTACHMENTS = "attachments/";
	
	public static final String FILE_CC_FORMS = "formdata/";
	
	public static final String CC_DB_NAME = "commcare";
	
    /**
     * Resource storage path
     */
    public static final String RESOURCE_PATH = "jr://file/commcare/resources/";
    
    /**
     * Media storage path
     */
    public static final String MEDIA_REF = "jr://file/commcare/media/";
    
    /**
     * Cache storage path
     */
    public static final String CACHE_PATH = "jr://file/commcare/cache/";
    
    public static final String INSTALL_REF = "jr://file/commcare/install";
    
    public static final String UPGRADE_REF = "jr://file/commcare/upgrade";
    
    public static final String ATTACHMENT_REF = "jr://file/attachments/";
    

    /**
     * How long to wait when opening network connection in milliseconds
     */
    public static final int CONNECTION_TIMEOUT = 2 * 60 * 1000;
    
    /**
     * How long to wait when receiving data (in milliseconds)
     */
    public static final int CONNECTION_SO_TIMEOUT = 1 * 60 * 1000;

    
    //All of the app state is contained in these values
    public static final String STATE_USER_KEY = "COMMCARE_USER";
    public static final String STATE_USER_LOGIN = "USER_LOGIN";
}

@@ -114,16 +114,25 @@
 TALL = %22
+commcare/
 install%22
@@ -181,16 +181,25 @@
 RADE = %22
+commcare/
 upgrade%22
@@ -246,16 +246,25 @@
 ACHE = %22
+commcare/
 cache%22;%0D
@@ -309,16 +309,25 @@
 EDIA = %22
+commcare/
 media/%22;
@@ -372,16 +372,25 @@
 LOGS = %22
+commcare/
 logs/%22;%0D

Fix for initial path creation issues