StopService(wekerService)
CancelScheduledService(wekerService)
CancelScheduledService(wekerService)
StopService(wekerService)
Sub Service_Start
'mp.Initialize() 'Initialize Mediaplayer
'PlayAlarm
Main.noti.Cancel(1)
noti.Initialize
noti.Light = True
noti.Vibrate = False
noti.OnGoingEvent = True
noti.Sound = True
noti.Icon = "icon"
noti.SetInfo("Alarm", "Apagado", "")
noti.Notify(2)
EjecutarRoot("settings put global airplane_mode_on 0")
EjecutarRoot("am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false")
'ToastMessageShow("Hey!!!! Wake up!!!", True)
End Sub
EjecutarRoot("settings put global airplane_mode_on 0")
EjecutarRoot("am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false")
End Sub
The "simple alarm" that susu wrote works great but when I try to recreate it by copying the code to a new main module and load susu's layout to the designer and add susu's alarmservice module I don't get the same input gadget. The gadget I get does not show the + and minus buttons to set the time. What am I missing and how can I get the same time setting gadget that shows in susu's app? Here is my zip file. Thanks!I wrote a simple alarm base on Erel's code. Hope it can help
Hi how
if there are 3 minder
example:
5:00 am
12:00 pm
6:00 pm
repeated every day
please help