Soheyl Member Licensed User Longtime User Mar 12, 2023 #1 Hello Everyone I have a problem with B4A When I plug in the battery charger, the activity reloads without any event! My meaning is on default new project, before any change. I attached a project example. Connect by Cable and try to plug and unplug. Watch Video on Youtube Any guess? thanks Attachments Connect-USB-Bug.zip 428.5 KB · Views: 62 Last edited: Mar 12, 2023
Hello Everyone I have a problem with B4A When I plug in the battery charger, the activity reloads without any event! My meaning is on default new project, before any change. I attached a project example. Connect by Cable and try to plug and unplug. Watch Video on Youtube Any guess? thanks
JohnC Expert Licensed User Longtime User Mar 12, 2023 #2 Are you sure neither the Activity_Pause or Activity_Resume sub events are not called when the "USB cable is connected" notification is displayed? Upvote 0
Are you sure neither the Activity_Pause or Activity_Resume sub events are not called when the "USB cable is connected" notification is displayed?
Soheyl Member Licensed User Longtime User Mar 12, 2023 #4 I tested now on Google Pixel - Android 13 Beta 2 And Samsung Galaxy Note 10 Plus + Android 12 The problem is just on Android 13 Upvote 0
I tested now on Google Pixel - Android 13 Beta 2 And Samsung Galaxy Note 10 Plus + Android 12 The problem is just on Android 13
JohnC Expert Licensed User Longtime User Mar 12, 2023 #5 If you dont display the msgbox, and then you plug in the usb connector, does Activity_Pause or Activity_Resume trigger? I'm thinking the problem is that the USB pop-up message is dismissing the msgbox, and the activity is not actually refreshing. Upvote 0
If you dont display the msgbox, and then you plug in the usb connector, does Activity_Pause or Activity_Resume trigger? I'm thinking the problem is that the USB pop-up message is dismissing the msgbox, and the activity is not actually refreshing.
Soheyl Member Licensed User Longtime User Mar 12, 2023 #6 Amm might be right, but without a message box, it's happening on the main activity as well. I found it, and it seems to be happening on every app! I think it's an Android bug, because it only happens when Battery Save Mode is active. I'm grateful for your time. Upvote 0
Amm might be right, but without a message box, it's happening on the main activity as well. I found it, and it seems to be happening on every app! I think it's an Android bug, because it only happens when Battery Save Mode is active. I'm grateful for your time.