hookshy Well-Known Member Licensed User Longtime User Oct 19, 2019 #1 Android system creates a snapshot of your app activity and display it when you access reccent items on defaut button of your android device. Is there a way you can tell android what to display on this snapshot ! the reason for that is I want to hide completely what ever I was doing before closing the app !! I can control this snapshot when pressing backkey or when user exits the app but when pressing home button it is not possible. Thank you!
Android system creates a snapshot of your app activity and display it when you access reccent items on defaut button of your android device. Is there a way you can tell android what to display on this snapshot ! the reason for that is I want to hide completely what ever I was doing before closing the app !! I can control this snapshot when pressing backkey or when user exits the app but when pressing home button it is not possible. Thank you!
AnandGupta Expert Licensed User Longtime User Oct 19, 2019 #2 hookshy said: when user exits the app but when pressing home button it is not possible. Click to expand... I think presently there is no solution to trap 'home' key. I use it in many of game apps which do not respond properly to back keys, to close them, from recent menu. So I think Android OS does not allow to trap 'home' key. Regards, Anand Upvote 0
hookshy said: when user exits the app but when pressing home button it is not possible. Click to expand... I think presently there is no solution to trap 'home' key. I use it in many of game apps which do not respond properly to back keys, to close them, from recent menu. So I think Android OS does not allow to trap 'home' key. Regards, Anand
hookshy Well-Known Member Licensed User Longtime User Oct 20, 2019 #3 AnandGupta said: So I think Android OS does not allow to trap 'home' key. Click to expand... I just thought you can tell android what snapshot to show up ...I think this might be posible Upvote 0
AnandGupta said: So I think Android OS does not allow to trap 'home' key. Click to expand... I just thought you can tell android what snapshot to show up ...I think this might be posible
Erel B4X founder Staff member Licensed User Longtime User Oct 20, 2019 #4 You can prevent the preview screenshot: https://www.b4x.com/android/forum/threads/how-to-block-ban-screen-shots-of-app.52075/#post-326475 If you do want it to appear but modify it then try to show a panel in Activity_Pause with the layout you want. Upvote 0
You can prevent the preview screenshot: https://www.b4x.com/android/forum/threads/how-to-block-ban-screen-shots-of-app.52075/#post-326475 If you do want it to appear but modify it then try to show a panel in Activity_Pause with the layout you want.
hookshy Well-Known Member Licensed User Longtime User Oct 20, 2019 #5 Perfect for the my app, when I had a webbrowser secured by password https://play.google.com/store/apps/details?id=com.hookshy.men Upvote 0
Perfect for the my app, when I had a webbrowser secured by password https://play.google.com/store/apps/details?id=com.hookshy.men
AnandGupta Expert Licensed User Longtime User Oct 20, 2019 #6 Erel said: If you do want it to appear but modify it then try to show a panel in Activity_Pause with the layout you want. Click to expand... Thanks for the tip, Erel. Will come handy for me. Regards, Anand Upvote 0
Erel said: If you do want it to appear but modify it then try to show a panel in Activity_Pause with the layout you want. Click to expand... Thanks for the tip, Erel. Will come handy for me. Regards, Anand