Not sure how to explain this....I have never seen this before..
I am wrapping a project which has a demo-app where there is a class that extends the "android.app.Application" class. Let us call this class A.
The workflow of their demo-app is the following:
1) first thing is that class A runs with code in its onCreate method (there is no layout for this class)
2) class A then starts a service
3) finally the MainActivity is started and shows its layout.
I had a look at the manifest but I cannot find anything there which says that class A should be executed first.
I, therefore, guess that a class that extends the "android.app.Application" class will always run first (it will be the entry-point).
In my wrapper, I have included the class A but it will not execute in my B4A project.
Any idea how I could get class A running at the start of the library. Do I need to wrap it as well and create the usual initial method and perhaps run it in the Starter module of B4A?
Many thanks for any help I can get.
I am wrapping a project which has a demo-app where there is a class that extends the "android.app.Application" class. Let us call this class A.
The workflow of their demo-app is the following:
1) first thing is that class A runs with code in its onCreate method (there is no layout for this class)
2) class A then starts a service
3) finally the MainActivity is started and shows its layout.
I had a look at the manifest but I cannot find anything there which says that class A should be executed first.
I, therefore, guess that a class that extends the "android.app.Application" class will always run first (it will be the entry-point).
In my wrapper, I have included the class A but it will not execute in my B4A project.
Any idea how I could get class A running at the start of the library. Do I need to wrap it as well and create the usual initial method and perhaps run it in the Starter module of B4A?
Many thanks for any help I can get.