Hi , I dont know if i'm the only one with this issue, i'm developing an app following the google maps demo example, but some cases when I start the app the screen remain Black and dont load the layout (and remains black untill I close and open again the app) I read in other Thread that maybe could be too many processes in sub activity_create, I have several days with this issue if someone could help me with this I would appreciate
this is my activity_create code:
I try with DoEvents but with no success.
this is my activity_create code:
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
DoEvents
If FirstTime Then
geocoder1.Initialize("Geocoder1")
reqManager.Initialize(Me, server_IP&":17178") 'Inicializa conexion con servidor MySQL
myfade.Initialize(Activity,Me,"intro.jpg",Gravity.FILL,3000,50,"",False)'Splash screen
End If
If MapFragment1.IsGooglePlayServicesAvailable = False Then
ToastMessageShow("Google Play services not available.", True)
Else
MapFragment1.Initialize("MapFragment1", MapPanel)
'Este timer sirve para buscar la posicion inicial del usuario al accesar por primera vez en el programa
T1.Initialize("T1",2000) 'inicializa el timer a 2 seg
T1.Enabled=True 'habilita el timer
End If
End Sub
I try with DoEvents but with no success.