Android Question Activity WindowFocusChanged event.

Tom_707

Member
Licensed User
Hi,

I'm trying to figure out the Activity WindowFocusChanged event but there doesn't seem to be much in either the B4X or Android documentation.

When you create an Activity, you add Views to it, or load a Layout. Which part of the Activity is the Window? Is it the entire screen that contains all Views?
When does the WindowFocusChanged event fire? Is it when you swap to another App that is currently running on the Android device?

Any help will be appreciated.
 

Tom_707

Member
Licensed User
I don't need this event as yet, I'm just learning B4A and trying to figure out what's what.
Thanks for the reply.
Now I just need to figure out what a Window is.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
If the user click the home button, i´d like to return my app. is it possible?
is the user press the home button you have to respect this wish. I don´t think that you can get back to your app if you do not use KIOSK-Mode.
 
Upvote 0
Top