2013年8月13日
摘要: 设置捕获线程出错Thread sendLocationTread = new Thread(sendUserLocationThread);sendLocationTread.setUncaughtExceptionHandler(exceptionHadler);sendLocationTread.start(); /** * 百度地图获取不到位置 重启线程 最多重启5次 */ private UncaughtExceptionHandler exceptionHadler = new UncaughtExceptionHandler() { private int restartTi... 阅读全文
posted @ 2013-08-13 16:19 冲锋的路上的兵 阅读(390) 评论(0) 推荐(0) 编辑