Example #1
0
        public bool StopService()
        {
            var intent = new Android.Content.Intent(context, typeof(MyService));

            bool result = context.StopService(intent);;

            SetServiceActive(context, false);
            NotificationHelper.RemoveMinAlarmNotification();
            NotificationHelper.RemoveMaxAlarmNotification();

            return(result);
        }