Widget Well-Known Member Licensed User Longtime User Jul 26, 2011 #1 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
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
warwound Expert Licensed User Longtime User Jul 26, 2011 #2 Have you seen this tutorial yet? http://www.b4x.com/forum/basic4android-getting-started-tutorials/6611-two-activities-example.html Martin. Upvote 0
Have you seen this tutorial yet? http://www.b4x.com/forum/basic4android-getting-started-tutorials/6611-two-activities-example.html Martin.
Erel B4X founder Staff member Licensed User Longtime User Jul 26, 2011 #3 Also see this tutorial: Different examples with 2 layouts Upvote 0
klaus Expert Licensed User Longtime User Jul 26, 2011 #4 You should have a look at: Layout Variants in the B4A-Wiki Different examples with two layouts In the Beginner's Guide - Chapter 5 Screen sizes and resolutions - Chapter 12.2 Program with three activities Best regards. Upvote 0
You should have a look at: Layout Variants in the B4A-Wiki Different examples with two layouts In the Beginner's Guide - Chapter 5 Screen sizes and resolutions - Chapter 12.2 Program with three activities Best regards.
Widget Well-Known Member Licensed User Longtime User Jul 26, 2011 #5 warwound said: Have you seen this tutorial yet? http://www.b4x.com/forum/basic4android-getting-started-tutorials/6611-two-activities-example.html Martin. Click to expand... 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
warwound said: Have you seen this tutorial yet? http://www.b4x.com/forum/basic4android-getting-started-tutorials/6611-two-activities-example.html Martin. Click to expand... 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