Esempio n. 1
0
        private void CheckPowerBtn_Clicked(object sender, EventArgs e)
        {
            try
            {
                Log.Debug(Globals.LogTag, "CheckPowerStatus call start");
                PhonePowerStatus status = modem.CheckPowerStatus();
                Log.Debug(Globals.LogTag, "power status = " + status);
                Log.Debug(Globals.LogTag, "CheckPowerStatus call end");
            }

            catch (Exception ex)
            {
                Log.Debug(Globals.LogTag, "CheckPowerStatus ,exception = " + ex.ToString());
            }
        }