示例#1
0
        public static void StopSmsBlipService(Context context)
        {
            SmsListener = null;
            var intent = new Intent(context, typeof(SmsBlipService));

            context.StopService(intent);
        }
示例#2
0
        public static void InitializeSmsBlipService(Context context,
                                                    ISmsListener smsListener)
        {
            SmsListener = smsListener;
            var intent = new Intent(context, typeof(SmsBlipService));

            context.StartService(intent);
        }