You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to hide window on HOME button click or app goes in background?
As I want to use standout window in app only. When app goes in background/destroy, window should hide.
Kindly suggest solution.
The text was updated successfully, but these errors were encountered:
pankaj2020
changed the title
Hide Standout window when click on HOME button click.
Hide Standout window when click on HOME button.
Jun 17, 2016
Try this to either close or hide window when activity goes into backgound/destroy
In onDestroy()
startService(StandOutWindow.getHideIntent(this,_WINDOW_TO_HIDE.class,WINDOW_ID); //to hide
startService(StandOutWindow.getCloseIntent(this,_WINDOW_TO_HIDE.class,WINDOW_ID); //to close
Ensure the WINDOW_ID is the same ID you used to start the StandOutWindow window.
How to hide window on HOME button click or app goes in background?
As I want to use standout window in app only. When app goes in background/destroy, window should hide.
Kindly suggest solution.
The text was updated successfully, but these errors were encountered: