Example #1
0
        protected override void OnPause()
        {
            Log.Debug("OnPause", "");
            base.OnPause();

            messageItem = new MessageItem(messageEditText.Text);
            SettingsLoader.Save(new SettingsData(contactData, messageItem));

            UnregisterReceiver(m_smsSentBroadcastReceiver);
            UnregisterReceiver(m_smsDeliveredBroadcastReceiver);

            _locationManager.RemoveUpdates(this);
        }
Example #2
0
 protected override void OnDestroy()
 {
     messageItem = new MessageItem(messageEditText.Text);
     SettingsLoader.Save(new SettingsData(contactData, messageItem));
     base.OnDestroy();
 }