K kohle Active Member Licensed User Longtime User Jun 16, 2020 #1 Hi, In the threepages example the Android back button closes the app when you open mainpage than page 2 . Should it not open the mainpage ? The people are used to go back via back button. rg Jürgen
Hi, In the threepages example the Android back button closes the app when you open mainpage than page 2 . Should it not open the mainpage ? The people are used to go back via back button. rg Jürgen
LucaMs Expert Licensed User Longtime User Jun 16, 2020 #2 There is a Big Bug: to go back to the Main page, you have to tap con the "right oriented" arrow on bottom of screen (exit from current "activity"), but to exit from the "Draw Something" page to return to Page 2 the arrow (on top-left) is "left oriented". I'm joking, of course ?, no bugs here! The Android back key "closes" your app. Upvote 0
There is a Big Bug: to go back to the Main page, you have to tap con the "right oriented" arrow on bottom of screen (exit from current "activity"), but to exit from the "Draw Something" page to return to Page 2 the arrow (on top-left) is "left oriented". I'm joking, of course ?, no bugs here! The Android back key "closes" your app.
agraham Expert Licensed User Longtime User Jun 16, 2020 #3 That's because B4XmainPage.btnLogin_Click uses ShowPageAndRemovePreviousPages. To get the behaviour you describe use Show instead. You might want to take a look at my enhanced example https://www.b4x.com/android/forum/threads/b4x-b4xpages-enhanced-example.119068/ Upvote 0
That's because B4XmainPage.btnLogin_Click uses ShowPageAndRemovePreviousPages. To get the behaviour you describe use Show instead. You might want to take a look at my enhanced example https://www.b4x.com/android/forum/threads/b4x-b4xpages-enhanced-example.119068/
K kohle Active Member Licensed User Longtime User Jun 16, 2020 #4 agraham said: That's because B4XmainPage.btnLogin_Click uses ShowPageAndRemovePreviousPages. To get the behaviour you describe use Show instead. You might want to take a look at my enhanced example https://www.b4x.com/android/forum/threads/b4x-b4xpages-enhanced-example.119068/ Click to expand... ok thanks Upvote 0
agraham said: That's because B4XmainPage.btnLogin_Click uses ShowPageAndRemovePreviousPages. To get the behaviour you describe use Show instead. You might want to take a look at my enhanced example https://www.b4x.com/android/forum/threads/b4x-b4xpages-enhanced-example.119068/ Click to expand... ok thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 17, 2020 #5 This was done intentionally of course to show the different behavior. The idea is that we don't want the user to mistakenly log out by clicking on the back key. Upvote 0
This was done intentionally of course to show the different behavior. The idea is that we don't want the user to mistakenly log out by clicking on the back key.