-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":659,"versionName":"2010151957","enabled":true,"outputFile":"ICSer_V659_2010151957_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V659_2010151957_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":660,"versionName":"2010152053","enabled":true,"outputFile":"ICSer_V660_2010152053_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V660_2010152053_release.apk","properties":{}}]
\ No newline at end of file
\r
\r
\r
- (new Thread(new Runnable() {\r
- public void run() {\r
\r
- if (runtime !=null) {\r
- //更新lbs信息\r
- CellInfoUtil.getCellInfo(runtime.getContextProxy().getTelephonyManager(),runtime);\r
-\r
- if (runtime.bleInfo.btMacList.size() > 0) {\r
- //有蓝牙搜索要求则 先进行蓝牙扫描\r
- startSOSLocation=true;//启动SOS定位,为了快速响应,只要wifi定位即可。\r
- forceLocation=1;\r
- if (needLocationForBT())\r
- btHelper.scanBLE();\r
- } else {\r
- try{\r
- Thread.sleep(1000);\r
- }catch (Exception e){}\r
- StringMessage waningmsg=protocolAPIHelper.getWarningMSG(runtime);\r
- DeliverMessage(waningmsg);\r
- }\r
- }\r
-\r
- }\r
- })).start();\r
\r
\r
-// mhandler.sendEmptyMessage(msgWhat_StartSOSLocationProcess);\r
+ mhandler.sendEmptyMessage(msgWhat_StartSOSLocationProcess);\r
\r
}\r
\r
btHelper.scanBLE();\r
}\r
}else if (msg.what == msgWhat_StartSOSLocationProcess){\r
- startSOSLocation=true;//启动SOS定位,为了快速响应,只要wifi定位即可。\r
- forceLocation=1;\r
- if (runtime.bleInfo.btMacList.size() > 0) {\r
- //有蓝牙搜索要求则 先进行蓝牙扫描\r
- if (needLocationForBT())\r
- btHelper.scanBLE();\r
- } else {\r
- startLocationProcess(ICLocation.NORMAL_MOD);\r
+\r
+\r
+ if (runtime !=null) {\r
+ //更新lbs信息\r
+ CellInfoUtil.getCellInfo(runtime.getContextProxy().getTelephonyManager(),runtime);\r
+\r
+ if (runtime.bleInfo.btMacList.size() > 0) {\r
+ //有蓝牙搜索要求则 先进行蓝牙扫描\r
+ startSOSLocation=true;//启动SOS定位,为了快速响应,只要wifi定位即可。\r
+ forceLocation=1;\r
+ if (needLocationForBT())\r
+ btHelper.scanBLE();\r
+ } else {\r
+ try{\r
+ Thread.sleep(1000);\r
+ }catch (Exception e){}\r
+ StringMessage waningmsg=protocolAPIHelper.getWarningMSG(runtime);\r
+ DeliverMessage(waningmsg);\r
+ }\r
}\r
+\r
+//\r
+// startSOSLocation=true;//启动SOS定位,为了快速响应,只要wifi定位即可。\r
+// forceLocation=1;\r
+// if (runtime.bleInfo.btMacList.size() > 0) {\r
+// //有蓝牙搜索要求则 先进行蓝牙扫描\r
+// if (needLocationForBT())\r
+// btHelper.scanBLE();\r
+// } else {\r
+// startLocationProcess(ICLocation.NORMAL_MOD);\r
+// }\r
}\r
}\r
};\r