D Deleted member 103 Guest Jun 18, 2015 #1 Hi, how can you deactivate the control center via app? I ask because every time you do the Control Center visible, my BLE device loses its connection.
Hi, how can you deactivate the control center via app? I ask because every time you do the Control Center visible, my BLE device loses its connection.
D Deleted member 103 Guest Jun 18, 2015 #2 I have found the code: Code: Copy - (BOOL) prefersStatusBarHidden { return YES; } how can I do it with NativeObject? Upvote 0
I have found the code: Code: Copy - (BOOL) prefersStatusBarHidden { return YES; } how can I do it with NativeObject?
Erel B4X founder Staff member Licensed User Longtime User Jun 19, 2015 #3 It will not disable the control center. Full screen app: https://www.b4x.com/android/forum/threads/full-screen-apps.47866/#content Why is the BLE connection broken? Are you doing anything in Application_Inactive event? Upvote 0
It will not disable the control center. Full screen app: https://www.b4x.com/android/forum/threads/full-screen-apps.47866/#content Why is the BLE connection broken? Are you doing anything in Application_Inactive event?
D Deleted member 103 Guest Jun 19, 2015 #4 Erel said: It will not disable the control center. Full screen app: https://www.b4x.com/android/forum/threads/full-screen-apps.47866/#content Why is the BLE connection broken? Are you doing anything in Application_Inactive event? Click to expand... You're right! But where can I disable it? Or should not I turn off? Code: Copy Private Sub Application_Inactive ' Log("Application_Inactive") If GPS1.LocationServicesEnabled Then GPS1.stop End If 'Bluetooth ausschalten If mCrono.bluetooth.btManager.IsInitialized Then mCrono.bluetooth.btManager.Disconnect End Sub Upvote 0
Erel said: It will not disable the control center. Full screen app: https://www.b4x.com/android/forum/threads/full-screen-apps.47866/#content Why is the BLE connection broken? Are you doing anything in Application_Inactive event? Click to expand... You're right! But where can I disable it? Or should not I turn off? Code: Copy Private Sub Application_Inactive ' Log("Application_Inactive") If GPS1.LocationServicesEnabled Then GPS1.stop End If 'Bluetooth ausschalten If mCrono.bluetooth.btManager.IsInitialized Then mCrono.bluetooth.btManager.Disconnect End Sub
Erel B4X founder Staff member Licensed User Longtime User Jun 20, 2015 #5 Application_Background is better. Upvote 0
D Deleted member 103 Guest Jun 20, 2015 #6 Erel said: Application_Background is better. Click to expand... Thank you, I will do so. Upvote 0