| | |
| | | //开启定位服务 |
| | | try |
| | | { |
| | | Shared.Application.StartGPSLocationService(); |
| | | if (DB_ResidenceData.Instance.CheckGPS_IsFirst) |
| | | { |
| | | DB_ResidenceData.Instance.CheckGPS_IsFirst = false; |
| | | Shared.Application.StartGPSLocationService(); |
| | | } |
| | | }catch(Exception ex) |
| | | { |
| | | MainPage.Log("开启定位服务异常:" + ex.Message); |
| | |
| | | { |
| | | btnNavigationSelectionIcon.SetRotation(0f); |
| | | ContextView.RemoveAll(); |
| | | var classificaitionView = new ClassificationPage(); |
| | | var classificaitionView = new ClassificationPage(); |
| | | ContextView.AddChidren(classificaitionView); |
| | | classificaitionView.LoadPage(); |
| | | |
| | | }); |
| | | }) |
| | | { IsBackground = true, Priority = System.Threading.ThreadPriority.Lowest }.Start(); |