Sub Activity_Resume
' Restore the state this activity was in prior to exiting it.
'------------------------------------------------------------
StateManager.RestoreState(Activity, "Main", 0)
' This timer is for the volume up and down buttons.
' The user can hold down on them to make the SeekBar
' value go up and down.
'---------------------------------------------------
tmrVolumeRepeat.Initialize("tmrVolumeRepeat", 50)
End Sub