Sub Activity_Create(FirstTime As Boolean)
LogColor("arrancamos...",Colors.Blue)
TimeZone = DateTime.GetTimeZoneOffsetAt(DateTime.Now)
HoraInicioMercado=11+3+TimeZone
HoraFinMercado =18+3+TimeZone
If FirstTime = True Then
Try
manager.Initialize("manager", key)
manager.DebugLogging = True
Catch
Log("Imposible lanzar billing")
End Try
End If
LogColor("billing ok...",Colors.Blue)
Sleep(100)
Activity.LoadLayout("paginicio")
Activity.Initialize("Main")
Activity.Title = "PortIt"