Android Question Problem with power button

danijel

Active Member
Licensed User
Longtime User
Hi,
Can someone please explain me why in my application when I press the power button all 3 following activity states trigger
B4X:
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = false **
** Activity (main) Resume **


I expected only Pause (and that's the case when i run a new empty project).
B4X:
** Activity (main) Pause, UserClosed = false **

So, what have I possibly done wrong that pressing of power button activates all three activity states?
 

danijel

Active Member
Licensed User
Longtime User
Yes, Its landscape orientation.
I could not find what is the problem.
After I post my question i sow similar tread...
So is there any new smarter workaround solution?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…