Android Question [B4XPages] Using an ephemeral Activity

Cableguy

Expert
Licensed User
Longtime User
Hi Guys and Gals

I'm wondering if there's any inconvenient in creating/using/terminating an activity from a B4XPage?

The Goal is to use teh mainB4XPage as "Lazy loading" of all my necessary resources, while showing a splash screen which duration will be variable.

Thanks in advance
 

angel_

Well-Known Member
Licensed User
Longtime User
Maybe this:
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
I started my project by using that example a few days ago, but the way it is implemented does not allow me to do other stuff while the splash is showing.

I have some moderate time consuming processing to do and I dont want a blank screen in the meantime
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
The only case in which you may need more than a single Activity in a B4XPages project, is if you want to have screens with different orientations, both landscape and portrait.

You should see a loading indicator view on a panel that completely covers Root.
 
Upvote 1

Cableguy

Expert
Licensed User
Longtime User
After a few test, I may be going the "One Loading info B4XPage" route...
This will allow me to continue to load and prepare resources while updating the info on this page o the go, up until I'm ready to show something to the user.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…