예제 #1
0
파일: SmsBlip.cs 프로젝트: llenroc/SmsBlip
        public static void StopSmsBlipService(Context context)
        {
            SmsListener = null;
            var intent = new Intent(context, typeof(SmsBlipService));

            context.StopService(intent);
        }
예제 #2
0
파일: SmsBlip.cs 프로젝트: llenroc/SmsBlip
        public static void InitializeSmsBlipService(Context context,
                                                    ISmsListener smsListener)
        {
            SmsListener = smsListener;
            var intent = new Intent(context, typeof(SmsBlipService));

            context.StartService(intent);
        }