Android Question App preview on recent apps window

hookshy

Well-Known Member
Licensed User
Longtime User
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
when user exits the app but when pressing home button it is not possible.
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

AnandGupta

Expert
Licensed User
Longtime User
If you do want it to appear but modify it then try to show a panel in Activity_Pause with the layout you want.
Thanks for the tip, Erel. Will come handy for me.

Regards,

Anand
 
Upvote 0
Top