I have been writing Windows form apps using MS Visual Studio since version 1, so am very familiar with MS garbage collection and the JIT compiler. However, I have only been writing for Android since last year, and don't know how it works.
The plan is for a single app with four disparate Activities. These Activities are totally separate in functionality, but are bound together only by a single technical discipline. At present, what I have are the four activities (small A) each in its own app, as I found it easier to write this way, concentrating on just one at a time. Now I must merge these four components into a single app with a menu to select them. Each current component will become an Activity using the name of the current app, with Main just holding the menu and other essential stuff. Each current app has just the UI stuff in Main, passing the user input to various modules and classes, and collecting the output for formatting and display. Altogether, it will be a big app, so my questions:-
1. Does Android load all the app classes and modules at start, or are they only loaded when the Activity is started?
2. Is it possible to preserve the state of one Activity when another is started, and is it possible to give the user the option to save state or not?
3. Am I crazy to build a highly complex app this way in the first place?
Thanks for any explanation,
Chris C-B