Exemple #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);
        }
 public static Bitmap CaptureApplication()
 {
     return(ADBHelper.getScreencap());
 }