danijel Active Member Licensed User Longtime User Feb 13, 2014 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Feb 14, 2014 #2 Is your app running in landscape orientation? Upvote 0
danijel Active Member Licensed User Longtime User Feb 14, 2014 #3 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
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?
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2014 #4 The discussion is here: http://www.b4x.com/android/forum/th...on-issue-cause-by-power-button.31665/#content This issue is fixed on new devices. I'm not familiar with any other workaround. Upvote 0
The discussion is here: http://www.b4x.com/android/forum/th...on-issue-cause-by-power-button.31665/#content This issue is fixed on new devices. I'm not familiar with any other workaround.