Android Tutorial [B4X] B4XPages enhanced example

agraham

Expert
Licensed User
In case anyone is interested I attach a modified version of Erels' ThreePagesExample for B4A only. It demonstrates the following enhancements.

1) B4XMainPage requests a Runtime permission.

2) All three pages have a B4XDrawer menu with some code in B4XPage_CloseRequest to close the Drawer if it is open instead of going back.

3) Page 3 changes the use of Action Home to open the Drawer, has some menu items added, and has the code to close the Drawer when the menu becomes visible.
 

Attachments

Top