jeejeestudio
Member
Hi,
if was busy trying to use the splash screen together with getting data via jRDC, but it goes in to a loop.
To test the same behaviour:
Take the sample script of https://www.b4x.com/android/forum/threads/b4x-b4xpages-splash-screen.120851/
and add the client part of this https://www.b4x.com/android/forum/t...-rdc-remote-database-connector.61801/#content
then when requesting the GetRecord in the sub Activity_Create, the app will start looping between the Splash screen and main screen.
So I've searched the forum and most probably it has to do with Resumable subs (activity Resume on Activity2 module) and using sleep in the Sub ShowSplashScreen?
How do I solve this? do I need to use a Waitfor somewhere?
I have no idea why it calls the splash screen again and then Activity2.
Thanks for any help.
if was busy trying to use the splash screen together with getting data via jRDC, but it goes in to a loop.
To test the same behaviour:
Take the sample script of https://www.b4x.com/android/forum/threads/b4x-b4xpages-splash-screen.120851/
and add the client part of this https://www.b4x.com/android/forum/t...-rdc-remote-database-connector.61801/#content
then when requesting the GetRecord in the sub Activity_Create, the app will start looping between the Splash screen and main screen.
So I've searched the forum and most probably it has to do with Resumable subs (activity Resume on Activity2 module) and using sleep in the Sub ShowSplashScreen?
How do I solve this? do I need to use a Waitfor somewhere?
I have no idea why it calls the splash screen again and then Activity2.
Thanks for any help.