B4A beginner here - long time .Net programmer and dabbled with a couple of Android Studio projects before purchasing B4A.
I want to develop an app with multiple pages (about 18 pages), each acting as forms - the results of each form entry will be sent to a connected device. The interface is something like the Google Photos or the Google Drive apps as far as the menus and page operations go.
I want to navigate between the different pages using a menu. My question is whether I should:
a) create an app with multiple activities, 1 for each page - and somehow figure out how to add a menu into that so the menu is visible no matter what activity I am in. Or:
b) create an app with 1 activity and a menu, with each page just downloading a new panel (or maybe a new layout?)
So far I have something using method (b) working ok, copied from the
https://www.b4x.com/android/forum/threads/ahnavigationdrawer-native-google-navigation-drawer.31461/
topic in this forum. It does work and looks nice but I am just wondering whether I am limiting myself further down the road?
Reading the general (not B4A) Android sites I came across this:
"can make a abstract base Activity that implements the menu and then extend that with your 3 concrete Activities" but I don't know if B4A can do that anyway, or whether I can or should be looking at method (a) anyway.
I am interested in any info that can lead me in the right direction.
Thanks,
Dave
I want to develop an app with multiple pages (about 18 pages), each acting as forms - the results of each form entry will be sent to a connected device. The interface is something like the Google Photos or the Google Drive apps as far as the menus and page operations go.
I want to navigate between the different pages using a menu. My question is whether I should:
a) create an app with multiple activities, 1 for each page - and somehow figure out how to add a menu into that so the menu is visible no matter what activity I am in. Or:
b) create an app with 1 activity and a menu, with each page just downloading a new panel (or maybe a new layout?)
So far I have something using method (b) working ok, copied from the
https://www.b4x.com/android/forum/threads/ahnavigationdrawer-native-google-navigation-drawer.31461/
topic in this forum. It does work and looks nice but I am just wondering whether I am limiting myself further down the road?
Reading the general (not B4A) Android sites I came across this:
"can make a abstract base Activity that implements the menu and then extend that with your 3 concrete Activities" but I don't know if B4A can do that anyway, or whether I can or should be looking at method (a) anyway.
I am interested in any info that can lead me in the right direction.
Thanks,
Dave