Here's the constructor - it dumps a log message (I know that part works
because

        private Controller()
        {
            AndroidLogModel.Model.AddLogMessage("Initializing controller",
1);
            receiver = new EventReceiver();
            receiver.CallStateChangedReceived += new
EventHandler<SmartAppBaseClient.CallStateChangedEventArgs>(receiver_CallStateChangedReceived);
            receiver.TelephonyPresenceStateChangedReceived += new
EventHandler<SmartAppBaseClient.TelephonyPresenceStateChangedEventArgs>(receiver_TelephonyPresenceStateChangedReceived);
            receiver.TelephonyCapabilitiesChangedReceived += new
EventHandler<SmartAppBaseClient.TelephonyCapabilitiesChangedEventArgs>(receiver_TelephonyCapabilitiesChangedReceived);
            receiver.ForwardStateChangedReceived += new
EventHandler<SmartAppBaseClient.ForwardStateChangedEventArgs>(receiver_ForwardStateChangedReceived);
            receiver.SupervisedSetLineStateChangedReceived += new
EventHandler<SmartAppBaseClient.SupervisedLineStateChangedEventArgs>(receiver_SupervisedSetLineStateChangedReceived);

            connector = new SmartAppMobileAndroidServerConnector();

            connector.LoginComplete += new
EventHandler<SmartAppBaseClient.LoginEventArgs>(connector_LoginComplete);
            connector.LogoutComplete += new
EventHandler<SmartAppBaseClient.BooleanOperationEventArgs>(connector_LogoutComplete);

        }

Basically instantiate two other classes and wire up some events - nothing
serious. 



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Task-Parallel-Framework-issues-tp5711359p5711396.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to