// Path: src/com/mialab/palmsuda/common/Constants.java
// public class Constants {
// 	public static boolean TEST_MODE = false;
// 	public static boolean DEBUG_MODE =true;	
// 	public static final String APP_TAG = "PalmSuda";
// 	public static final String APP_DIR = "PalmSuda";
// 	public static final String APP_CACHE = "/cache";
// 	
// 	public static final boolean MARKET_VERSION = false;
// 	
// 	public static final String ACCOUNT_TYPE = "com.mialab.palmsuda_demo3.sync";
// 	
// 	public static final String HTTP_SCHEME = "http";
// 	//public static final String HTTP_HOST = "res.51wcity.com";
// 	//public static final String HTTP_HOST = "mialab.suda.edu.cn";
// 	
// 	 public static final String HTTP_HOST = "192.168.0.119:8080";
// 	
// 	public static final String HTTP_PATH = "/city-service/service";
// 	//public static final String HTTP_PATH = "/palm-service/service";
// 	
// 	public static final String HTTP_PALM_DATA_ROOT = HTTP_SCHEME + "://"
// 			+ HTTP_HOST;
// 	public static final String SERVER_URL = HTTP_PALM_DATA_ROOT + HTTP_PATH;
// 
// 	public static final String APP_UNAME = "palmsuda";
// 	
// 	public static final String SAVE_SELECT_AREA = "CityName";
// 	public static final String SAVE_AREA_ID = "CityID";
// 
// 	public static final String SAVE_MOBILE_NUM = "mobile_number";
// 
// 	public static final String MODULE_URL = "module_url";
// 	
// 	//public static final String HTTP_MODULE_LIST = "http://res.51wcity.com/WirelessSZ/city/100_%1$s.html";
// 
// }


import java.io.File;
import java.io.FileOutputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.lang.Thread.UncaughtExceptionHandler;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.mialab.palmsuda.common.Constants;
import android.content.Context;
import android.os.Environment;
import android.os.Looper;
import android.text.TextUtils;
import android.util.Log;
package com.mialab.palmsuda.main;






/** 
 * @author  mialab 
 * @date 创建时间：2015-9-3 下午7:53:37 
 *  
 */
public class CrashHandler implements UncaughtExceptionHandler {
	public static final String TAG = Constants.APP_TAG;
	private Thread.UncaughtExceptionHandler mDefaultHandler;
	// CrashHandler实例
// Path: src/com/mialab/palmsuda/common/Constants.java
// public class Constants {
// 	public static boolean TEST_MODE = false;
// 	public static boolean DEBUG_MODE =true;	
// 	public static final String APP_TAG = "PalmSuda";
// 	public static final String APP_DIR = "PalmSuda";
// 	public static final String APP_CACHE = "/cache";
// 	
// 	public static final boolean MARKET_VERSION = false;
// 	
// 	public static final String ACCOUNT_TYPE = "com.mialab.palmsuda_demo3.sync";
// 	
// 	public static final String HTTP_SCHEME = "http";
// 	//public static final String HTTP_HOST = "res.51wcity.com";
// 	//public static final String HTTP_HOST = "mialab.suda.edu.cn";
// 	
// 	 public static final String HTTP_HOST = "192.168.0.119:8080";
// 	
// 	public static final String HTTP_PATH = "/city-service/service";
// 	//public static final String HTTP_PATH = "/palm-service/service";
// 	
// 	public static final String HTTP_PALM_DATA_ROOT = HTTP_SCHEME + "://"
// 			+ HTTP_HOST;
// 	public static final String SERVER_URL = HTTP_PALM_DATA_ROOT + HTTP_PATH;
// 
// 	public static final String APP_UNAME = "palmsuda";
// 	
// 	public static final String SAVE_SELECT_AREA = "CityName";
// 	public static final String SAVE_AREA_ID = "CityID";
// 
// 	public static final String SAVE_MOBILE_NUM = "mobile_number";
// 
// 	public static final String MODULE_URL = "module_url";
// 	
// 	//public static final String HTTP_MODULE_LIST = "http://res.51wcity.com/WirelessSZ/city/100_%1$s.html";
// 
// }


// Path: src/com/mialab/palmsuda/main/CrashHandler.java
import java.io.File;
import java.io.FileOutputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.lang.Thread.UncaughtExceptionHandler;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.mialab.palmsuda.common.Constants;
import android.content.Context;
import android.os.Environment;
import android.os.Looper;
import android.text.TextUtils;
import android.util.Log;

package com.mialab.palmsuda.main;






/** 
 * @author  mialab 
 * @date 创建时间：2015-9-3 下午7:53:37 
 *  
 */
public class CrashHandler implements UncaughtExceptionHandler {
	public static final String TAG = Constants.APP_TAG;
	private Thread.UncaughtExceptionHandler mDefaultHandler;
	// CrashHandler实例
	private static CrashHandler INSTANCE = new CrashHandler();