Hi
When i declare a variable in a process global of my activity, an int variable or timer or mediaplayer, they are not valid for the whole program as it should be, but i have to define them again in each activity, is it normal ?!
if not
syntax error
undeclared variable media player1 used before ...
When i declare a variable in a process global of my activity, an int variable or timer or mediaplayer, they are not valid for the whole program as it should be, but i have to define them again in each activity, is it normal ?!
B4X:
#Region Activity Attributes
#FullScreen: true
#IncludeTitle: True
#End Region
Sub Process_Globals
Dim MediaPlayer1 As MediaPlayer
Dim timer1 As Timer
if not
syntax error
undeclared variable media player1 used before ...