示例#1
0
        public static int getResolution(bool update = false)
        {
            if (resolution == 0 || update)
            {
                try
                {
                    resolution = ADBHelper.getScreencap(true).Height;
                }
                catch (Exception)
                {
                    resolution = 720; //720p
                }
            }

            return(resolution);
        }
示例#2
0
 public static Bitmap CaptureApplication()
 {
     return(ADBHelper.getScreencap());
 }