Looking for multi-screen tutorial

Widget

Well-Known Member
Licensed User
Longtime User
I just started using B4A and I've gone through some of the tutorials. They all seem great except they are all single page apps. I haven't seen any tutorials that show several interconnected pages.

I looked at the TabHost app and it took me a while to discover Page1-3.bal was actually created through the Designer > File > New. I thought it was done from the main editor window by creating a new module.

Are there any tutorials that demonstrate how to create an app with several pages? And when to use "Project > Add New Module > Activity Module" and how it is called/destroyed?

TIA
Widget
 

Widget

Well-Known Member
Licensed User
Longtime User

Martin,
Thanks for the link. No I hadn't seen it but I am digesting it now. :) I think a tutorial like this should have been in the GettingStarted pdf.

What makes the app work is being able to access Activity2.result from Main after Activity2 closes. Without this there would be no way to "pass" values back and forth. I mistakenly thought if Activity2 was disabled, so were its process_global values. But I see now the activity's global values are stored globally and can still be referenced. It is starting to make sense now.

:icon_clap:
Widget
 
Upvote 0
Top