protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            // Create your application here
            SetContentView(Resource.Layout.activity_setup_sync);

            mCircularProgress = FindViewById <CircularProgressLayout>(Resource.Id.circular_progress);
            mCircularProgress.Indeterminate = true;
            mCircularProgress.Click        += (sender, e) =>
            {
                // User canceled, abort the action
                mCircularProgress.StopTimer();
                SetResult(Result.Canceled);
                Finish();
            };
            mCircularProgress.TimerFinished += (sender, e) =>
            {
                // User didn't cancel, perform the action
                // All data received finish activity
                if (SettingsDataReceived && LocationDataReceived && WeatherDataReceived)
                {
                    SetResult(Result.Ok);
                }
                else
                {
                    SetResult(Result.Canceled);
                }
                Finish();
            };
            mTextView          = FindViewById <TextView>(Resource.Id.message);
            mBroadcastReceiver = new LocalBroadcastReceiver();
            mBroadcastReceiver.BroadcastReceived += BroadcastReceiver_BroadcastReceived;

            mTextView.Text = GetString(Resource.String.message_gettingstatus);

            intentFilter = new IntentFilter();
            intentFilter.AddAction(WearableDataListenerService.ACTION_UPDATECONNECTIONSTATUS);
            intentFilter.AddAction(WearableHelper.IsSetupPath);
            intentFilter.AddAction(WearableHelper.LocationPath);
            intentFilter.AddAction(WearableHelper.SettingsPath);
            intentFilter.AddAction(WearableHelper.WeatherPath);
            intentFilter.AddAction(WearableHelper.ErrorPath);

            StartService(new Intent(this, typeof(WearableDataListenerService))
                         .SetAction(WearableDataListenerService.ACTION_UPDATECONNECTIONSTATUS));
        }
 private void ResetTimer()
 {
     mCircularProgress.StopTimer();
     mCircularProgress.Indeterminate = true;
 }