摘要:
设置捕获线程出错Thread sendLocationTread = new Thread(sendUserLocationThread);sendLocationTread.setUncaughtExceptionHandler(exceptionHadler);sendLocationTread.start(); /** * 百度地图获取不到位置 重启线程 最多重启5次 */ private UncaughtExceptionHandler exceptionHadler = new UncaughtExceptionHandler() { private int restartTi... 阅读全文