/// <summary>
 /// Send received status data to the hosting activity
 /// </summary>
 /// <param name="i">The new status value</param>
 private void SendData(int i)
 {
     try
     {
         Intent readIntent = new Intent(ZoomRemote.AppConst.rxIntentName);
         readIntent.PutExtra(ZoomRemote.BundleConst.bundleCmdTag, BundleConst.bundleDataTag);
         readIntent.PutExtra(ZoomRemote.BundleConst.bundleValTag, i);
         serviceContext.SendBroadcast(readIntent);
     }
     catch (Throwable e)
     {
         AppLog.Log("RCS: SendData; exception: " + e.ToString());
     }
 }
            /// <summary>
            /// Update the internal state and report it to the hosting activity
            /// </summary>
            /// <param name="newState">The new internal state</param>
            private void UpdateState(AppConst.ActivityState newState)
            {
                Intent statusIntent;

                try
                {
                    statusIntent = new Intent(ZoomRemote.AppConst.rxIntentName);
                    statusIntent.PutExtra(ZoomRemote.BundleConst.bundleCmdTag, BundleConst.bundleStatusTag);
                    statusIntent.PutExtra(ZoomRemote.BundleConst.bundleValTag, (int)newState);
                    serviceContext.SendBroadcast(statusIntent);
                    serviceContext.serviceState = newState;

                    AppLog.Log("RCS: New state " + newState.ToString());
                }
                catch (Throwable e)
                {
                    AppLog.Log("RCS: New state; exception: " + e.ToString());
                }
            }