Example #1
0
 public static void stop()
 {
     try
     {
         CalibApi.SysPowerOff();
     }
     catch (Exception)
     {
         //ignore exception
     }
 }
Example #2
0
        public static void viberate()
        {
            try
            {
                CalibApi.SysPlayVibrator(CalibDef.B_ALARM, 0, 0, 0);
//                CalibApi.SysSetFnKeyLock(true);
            }
            catch (Exception)
            {
                //ignore exception
            }
        }
Example #3
0
 public static void testFn()
 {
     CalibApi.SysSetFnKeyLock(false);
 }