×

Screen capturing method and system for electronic device, and electronic device

  • US 10,824,327 B2
  • Filed: 10/24/2017
  • Issued: 11/03/2020
  • Est. Priority Date: 11/04/2016
  • Status: Active Grant
First Claim
Patent Images

1. A screen capturing method for an electronic device having a screen capturing system comprising one or more processors, a memory, and one or more applications stored in the memory and configured to be executed by the one or more processors to perform the screen capturing method, the screen capturing method comprising the following steps of:

  • acquiring and parsing interface information currently displayed in an electronic device to obtain information about all view controls for a specified window;

    parsing the information about view controls, constructing all view controls for the specified window into a view control tree, and building a presentation interface including image views corresponding to all view controls, comprising steps of;

    parsing the information about the view controls, and constructing all view controls for the specified window into the view control tree;

    transmitting information about each view control in the view control tree to a corresponding view node, and converting the information into node attributes of the corresponding view node; and

    building the presentation interface according to the node attributes of the view node, the presentation interface including image views corresponding to all view controls, comprising steps of;

    drawing each view control into a picture separately and saving the picture; and

    displaying, according to position information of the view control in the node attributes, the corresponding picture in a same position with one of the image views to form the presentation interface;

    receiving a click instruction from a user for clicking one of the image views, removing the image view clicked by the user from the presentation interface, and saving the current presentation interface when a save instruction is received; and

    capturing an image of the presentation interface in the current screen and saving the captured image.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×