Ok, have looked over the sample splash screens, and have yet to figure out a way to get the desired action... which is... have a splash screen show while data gets loaded into arrays...
I have an array of Type ThaiCharacterRecord:
Type ThaiCharacterRecord (Character As String, cTypeEnglish As String, cClassEnglish As String, CharacterNameSound As String, CharacterSound As String )
which i declare in Process_Globals
in Activity_Create, I load an array that gets filled from a .csv file.
Included for each character is a sound file, that also gets loaded on activity_create into a SoundPool object (approximately 200 short sound files)
What I would like to have happen is that when the application starts, an imageView gets displayed, and then code continues for loading data, and initializing buttons.
However, I can only ever get black screen until activity_create finishes
UNLESS, I put in a msgbox statement.
If I have a msgbox after displaying an imageview, but Before all my SP.loadid and stringutils.load statement... the image displays behind the msgbox, and then after i hit "ok', the code continues as I would expect, the imageview is unloaded, and my buttons are visible...
I've tried doing as two activities, but, when I start up the "Main" (my applications Main, not Android, I used the splash screen as the "Main" activity) then when new activity is started, the splash screen disappears, and still the wait with black screen while the data loads...
As far as panels... again, can't get a panel to display until after alll the load stuff is done...
Any suggestions?
Ross
I have an array of Type ThaiCharacterRecord:
Type ThaiCharacterRecord (Character As String, cTypeEnglish As String, cClassEnglish As String, CharacterNameSound As String, CharacterSound As String )
which i declare in Process_Globals
in Activity_Create, I load an array that gets filled from a .csv file.
Included for each character is a sound file, that also gets loaded on activity_create into a SoundPool object (approximately 200 short sound files)
What I would like to have happen is that when the application starts, an imageView gets displayed, and then code continues for loading data, and initializing buttons.
However, I can only ever get black screen until activity_create finishes
UNLESS, I put in a msgbox statement.
If I have a msgbox after displaying an imageview, but Before all my SP.loadid and stringutils.load statement... the image displays behind the msgbox, and then after i hit "ok', the code continues as I would expect, the imageview is unloaded, and my buttons are visible...
I've tried doing as two activities, but, when I start up the "Main" (my applications Main, not Android, I used the splash screen as the "Main" activity) then when new activity is started, the splash screen disappears, and still the wait with black screen while the data loads...
As far as panels... again, can't get a panel to display until after alll the load stuff is done...
Any suggestions?
Ross