Zeev Goldstein Well-Known Member Licensed User Longtime User Mar 2, 2021 #1 hi how can i get the focus back when the app is gone to the background for example i'm in the middle of something in the app then the phone rang and the app is now in the background i want to bring it back to foreground say after X seconds (very much like waze) is there a way to do that ? thanks
hi how can i get the focus back when the app is gone to the background for example i'm in the middle of something in the app then the phone rang and the app is now in the background i want to bring it back to foreground say after X seconds (very much like waze) is there a way to do that ? thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 2, 2021 #2 Zeev Goldstein said: for example i'm in the middle of something in the app then the phone rang and the app is now in the background Click to expand... In that case it is expected to happen automatically when the phone app closes. Zeev Goldstein said: is there a way to do that ? Click to expand... Yes, but it is requires special permission. See the Android 10 changes: https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/#content Upvote 0
Zeev Goldstein said: for example i'm in the middle of something in the app then the phone rang and the app is now in the background Click to expand... In that case it is expected to happen automatically when the phone app closes. Zeev Goldstein said: is there a way to do that ? Click to expand... Yes, but it is requires special permission. See the Android 10 changes: https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/#content
Zeev Goldstein Well-Known Member Licensed User Longtime User Mar 2, 2021 #3 Erel said: In that case it is expected to happen automatically when the phone app closes. Yes, but it is requires special permission. See the Android 10 changes: https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/#content Click to expand... i don't care if the phone call is still on - i want it to resume anyhow to the app say after 15 seconds Upvote 0
Erel said: In that case it is expected to happen automatically when the phone app closes. Yes, but it is requires special permission. See the Android 10 changes: https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/#content Click to expand... i don't care if the phone call is still on - i want it to resume anyhow to the app say after 15 seconds
Zeev Goldstein Well-Known Member Licensed User Longtime User Mar 3, 2021 #4 Erel said: In that case it is expected to happen automatically when the phone app closes. Yes, but it is requires special permission. See the Android 10 changes: https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/#content Click to expand... sorry, once again this link did not explain things or i was lost again... Upvote 0
Erel said: In that case it is expected to happen automatically when the phone app closes. Yes, but it is requires special permission. See the Android 10 changes: https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/#content Click to expand... sorry, once again this link did not explain things or i was lost again...