after setting up the alarm, i am starting the service with:
StartServiceAtExact("starter",NextTimeInstance(aktifalarm.saat,aktifalarm.dakika), True)
from the service, i am starting the activity with:
StartActivity(Main)
i also have
#StartCommandReturnValue: android.app.Service.START_STICKY
in the service header, also have this sub enabled at the main:
Sub SetShowWhenLocked
Dim r As Reflector
r.Target = r.GetActivity
r.Target = r.RunMethod("getWindow")
r.RunMethod2("addFlags", 6815872, "java.lang.int")
End Sub