Sub SetAlarm(Hour As Int, Minutes As Int, days As List)
Dim i As Intent
i.Initialize("android.intent.action.SET_ALARM", "")
i.PutExtra("android.intent.extra.alarm.HOUR", Hour)
i.PutExtra("android.intent.extra.alarm.MINUTES", Minutes)
i.PutExtra("android.intent.extra.alarm.DAYS", days)
i.PutExtra("android.intent.extra.alarm.SKIP_UI", True)
StartActivity(i)
Log("alarm set")
End Sub