CN108008955A - Show the method, apparatus of self-defined control information - Google Patents
Show the method, apparatus of self-defined control information Download PDFInfo
- Publication number
- CN108008955A CN108008955A CN201711354518.5A CN201711354518A CN108008955A CN 108008955 A CN108008955 A CN 108008955A CN 201711354518 A CN201711354518 A CN 201711354518A CN 108008955 A CN108008955 A CN 108008955A
- Authority
- CN
- China
- Prior art keywords
- self
- information
- control
- defined control
- target information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
The disclosure provides a kind of method, apparatus for showing self-defined control information, wherein, the described method includes:Obtain and be used to ask the solicited message for opening client software development interface;The target information of self-defined control in the page is drawn according to the solicited message, the target information includes at least the class name of self-defined control.The method of the display self-defined control information provided using the disclosure when showing page info, can will build the default exploitation presentation of information of the self-defined control of the page in the page, facilitate user to check.
Description
Technical field
This disclosure relates to field of communication technology, more particularly to a kind of method, apparatus for showing self-defined control information.
Background technology
One application program, that is, client software generally comprises a large amount of pages, and each page includes multiple modules, Mei Gemo
Block corresponds to a self-defined control in exploitation program.
Assuming that above application program is the client software based on the exploitation of Android Android systems.In correlation technique, exploitation
If personnel want to understand the information of the corresponding self-defined control of each module in the page, the Android Androids generally installed by PC ends
The daily record of development environment viewing client-side or the information that each page and self-defined control are familiar with by single-step debug mode.
But the above method is required to the support of Android development environments, if developer was wanted using ordinary user's end
End is such as fitted without the mobile terminal of Android development environments, quickly and easily checks self-defined control information, then is difficult real
It is existing.
The content of the invention
To overcome problem present in correlation technique, present disclose provides it is a kind of show self-defined control information method,
Device, can intuitively show the target information of self-defined control in the page.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for showing self-defined control information, applied to shifting
In dynamic terminal, including:
Obtain and be used to ask the solicited message for opening client software development interface;
The target information of self-defined control in the page is drawn according to the solicited message, the target information includes at least certainly
Define the class name of control.
Alternatively, described obtain is used to ask the solicited message for opening client software development interface, including:
When detecting default triggering information by preset interface, there is provided Information Authentication interface;
Verify that interface obtains information to be verified and to the information progress Information Authentication to be verified by described information;
If the information to be verified is verified by described information, the solicited message is obtained.
Alternatively, the target information that self-defined control in the page is drawn according to the solicited message, including:
The self-defined control list of the page is obtained, the self-defined control list includes:The position letter of modules
The correspondence of breath and the control type of self-defined control;
The target information of self-defined control described in the page is drawn according to the self-defined control list.
Alternatively, the target information that self-defined control in the page is drawn according to the self-defined control list,
Including:
Determine whether the control type of each self-defined control is identical according to the self-defined control list;
If the control type of each self-defined control is identical, determining the target information of each self-defined control is
It is no identical;
If the target information of each self-defined control is identical, the target letter is drawn in the predeterminated position of the page
Breath.
Alternatively, the target information that self-defined control in the page is drawn according to the self-defined control list,
Further include:
If the control type of each self-defined control is different or the target information of each self-defined control not
Together, the target information of each self-defined control is drawn in the page.
Alternatively, the target information for drawing self-defined control in the page, including:
By inherit in the primary control of Android system self-defined base class provide at least one abstract method, from it is described from
Define control and obtain the corresponding target data of the target information;Wherein, the self-defined control is inherited in the self-defined base
Class;
By rewriteeing the default method for drafting of the self-defined base class, information and the institute of the self-defined base class are drawn successively
State the target information of self-defined control.
Alternatively, the default method for drafting includes:DispatchDraw () method.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device for showing self-defined control information, is arranged at
In mobile terminal, described device includes:
Request module, is configured as obtaining the solicited message for being used for asking opening client software development interface;
Display module, is configured as drawing the target information of self-defined control in the page according to the solicited message, described
Target information includes at least the class name of self-defined control.
Optionally, the request module includes:
Submodule is triggered, when being configured as detecting default triggering information by preset interface, there is provided Information Authentication interface;
Submodule is verified, is configured as verifying that interface obtains information to be verified and to the letter to be verified by described information
Breath carries out Information Authentication;
Submodule is asked, is configured as in the case where the information to be verified is verified by described information, described in acquisition
Solicited message.
Optionally, the display module includes:
List of controls acquisition submodule, is configured as obtaining the self-defined control list of the page, the self-defined control
Part list includes:The correspondence of the positional information of modules and the control type of self-defined control;
Information rendering submodule, is configured as being drawn according to the self-defined control list self-defined described in the page
The target information of control.
Optionally, described information rendering submodule includes:
Type determining units, are configured as determining the control of each self-defined control according to the self-defined control list
Whether part type is identical;
Information determination unit, is configured as in the case where the control type of each self-defined control is identical, determines
Whether the target information of each self-defined control is identical;
First drawing unit, is configured as in the case where the target information of each self-defined control is identical, in institute
The predeterminated position for stating the page draws the target information.
Optionally, described information rendering submodule, further includes:
Second drawing unit, be configured as control type in each self-defined control it is different or it is described it is each from
In the case of the target information difference for defining control, the target information of each self-defined control is drawn in the page.
Optionally, the display module, including:
Target data acquisition submodule, is configured as providing by the self-defined base class inherited in the primary control of Android system
At least one abstract method, obtain the corresponding target data of the target information from the self-defined control;Wherein, it is described from
Control is defined to inherit in the self-defined base class;
Target information rendering submodule, is configured as the default method for drafting by rewriteeing the self-defined base class, successively
Draw the information of the self-defined base class and the target information of the self-defined control.
Optionally, the default method for drafting includes:DispatchDraw () method.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of non-transitorycomputer readable storage medium, thereon
Computer program is stored with, which realizes above-mentioned first aspect any the method when being executed by processor the step of.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of mobile terminal, including:
Processor and the memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain and be used to ask the solicited message for opening client software development interface;
The target information of self-defined control in the page is drawn according to the solicited message, the target information includes at least certainly
Define the class name of control.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the disclosure, mobile terminal can obtain the default solicited message of user's transmission, which is used to ask to beat
Client software development interface is opened, the target information of self-defined control in the page, the mesh are then drawn according to above-mentioned solicited message
Mark the class name that information includes at least self-defined control so that the developer of active user's such as client software can pass through shifting
Dynamic terminal inquires about the information of target self-defined control whenever and wherever possible, facilitates the developer to be searched in time according to above-mentioned target information
The source code of the self-defined control and source code to the self-defined control carry out the operation such as repairing, and then improve program development people
The development efficiency of member, strengthens the intelligence degree of mobile terminal, improves user experience.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of method flow of display self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Fig. 2 is another method flow that shows self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Fig. 3-1 is a kind of scene signal of display self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Fig. 3-2 is that another scene that shows self-defined control information of the disclosure according to an exemplary embodiment is shown
It is intended to.
Fig. 4 is another method flow that shows self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Fig. 5 is another method flow that shows self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Fig. 6 is another method flow that shows self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Fig. 7 is another method flow that shows self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Fig. 8 is a kind of structure diagram of View control of the disclosure according to an exemplary embodiment.
Fig. 9 is a kind of device block diagram of display self-defined control information of the disclosure according to an exemplary embodiment.
Figure 10 is another device frame that shows self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Figure 11 is another device frame that shows self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Figure 12 is another device frame that shows self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Figure 13 is another device frame that shows self-defined control information of the disclosure according to an exemplary embodiment
Figure.
Figure 14 is another device frame that shows self-defined control information of the disclosure according to an exemplary embodiment
Figure.
A kind of one structure diagram of mobile terminal of Figure 15 disclosure according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
It is only merely for the purpose of description specific embodiment in the term that the disclosure uses, and is not intended to be limiting the disclosure.
" one kind " of singulative used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps
Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from
In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
In the embodiments of the present disclosure, the executive agent being related to includes:Mobile terminal and server-side.Above-mentioned mobile terminal can
To be smart mobile phone, PDA (Personal Digital Assistant, personal digital assistant), tablet computer, wearable device
Deng electronic equipment.Client software is installed on the mobile terminal, which is provided with checks exploitation for developer
The human-computer interaction interface of interface information.Above-mentioned server-side can be the equipment such as application server.It is mobile during specific implementation
Terminal and server-side, it is each independent, while connect each other again, the technical solution that the embodiment of the present disclosure provides is realized jointly.In order to
Easy to describe, below from the angle of mobile terminal, the embodiment of the present disclosure is introduced.
Method flow diagram with reference to Fig. 1 according to a kind of display self-defined control information shown in an exemplary embodiment, institute
The method of stating may comprise steps of:
In a step 11, obtain and be used to ask the solicited message for opening client software development interface;
Assuming that above-mentioned mobile terminal is smart mobile phone, at least a client software, the visitor are installed on the smart mobile phone
Family end software can be that a issued obscuring version software or be in just is mixed in the development phase without version
The software to confuse.Assuming that above-mentioned client software is the first APP, default human-computer interaction interface is provided with the page of the first APP,
It is usually the solicited message that developer inputs that can receive user by the human-computer interaction interface, which is used to ask
Mobile terminal shows the development interface of active client software, so that developer can check the development interface of the first APP
The class name of information, such as self-defined control, the information of ID developer's concern.
There is a base class in Android controls View, in client software UI (User Interface, user interface)
Module contents is all drawn by the View controls.Client software formally issue it is previous as can be based on original development
Version, which carries out version, to be obscured.Called customer terminal software version obscure be exploitation software debugging success after, need not in order to remove
The code wanted, reduces the process of program in machine code (i.e. software) body size, such as, the original size of a client software is 10M,
It, which obscures version, may be reduced into 5M, so that the bit error rate in reducing the downloading data amount and transmitting procedure of software.
In above-mentioned version process of obfuscation, the rule of obscuring of View controls is:It is inherited from the constructed fuction of View controls all
Do not obscure.Since the name of the constructed fuction of self-defined control is identical with the class name of the self-defined control, if constructed fuction does not mix
Confuse, formal in client software obscures version, and the class name of the self-defined control is not also obscured.That is, View controls are inherited from
Child control class name in the client software of any version all without being confused.Based on this, developer can be according to aobvious
The class name shown quickly searches the source program code of the self-defined control.The step 11 be user ask mobile terminal show it is self-defined
The process of control target information such as class name.
Above-mentioned solicited message how is obtained on mobile terminal, may refer to Fig. 2 according to an exemplary embodiment
Another kind shows the method flow diagram of self-defined control information, and above-mentioned steps 11 can include:
In step 111, when detecting default triggering information by preset interface, there is provided Information Authentication interface;
As above, which can be above-mentioned default human-computer interaction interface, for example be the predeterminated position of the first APP pages
The pre-set button of setting, when the pre-set button that smart mobile phone is detected in the first APP is triggered, can provide Information Authentication and connect
Mouthful, for example, ejecting a preset window in the display interface of the first APP, set in the preset window and require user's input
The human-computer interaction interface of information to be verified, such as, ask active user to input the Text Entry of the information such as user name, password.
In step 112, by described information verify interface obtain information to be verified and to the requests verification information into
Row information is verified;
It is above-mentioned to be tested after smart mobile phone receives the information to be verified that active user verifies interface input by above- mentioned information
Card information is, for example, account name+password, and smart mobile phone is in local or is sent to remote server active user is authenticated.Root
According to relevant knowledge, in view of information security considers, the development interface of a client software is only checked for authorized a minority,
Such as the developer of the client software.It is each with checking the developer of authority with unique account and password.When
When developer wants to check development interface information whenever and wherever possible using mobile terminal such as smart mobile phone, awarding for individual can be inputted
Weigh information.
In step 113, if the information to be verified is verified by described information, the solicited message is obtained.
Ibid, if client software is by the Information Authentication of active user, it is to have to check exploitation to illustrate active user
The user of interface authority.Afterwards, solicited message input by user can be received according to correlation technique, which is used to inform
Client software wants the relevant information of each self-defined control in the specified page checked and the page.
In step 12, the target information of self-defined control in the page, the target letter are drawn according to the solicited message
Class name of the breath including at least self-defined control.
The step 12 is related to the process that the display page to client software development interface is drawn.Known according to correlation
Know, the view of any appearance on the screen can be just shown after the drafting flow by science is drawn.
By taking target information is class name as an example, in Android system, a self-defined control corresponds to a class.Class is with phase
With the set of attribute and a group objects of service (method).Object is an entity for being used for describing objective things in system, is
One base unit of composition system.One object is by one group of attribute and the one group of service (method) operated to this group of attribute
Composition.Above-mentioned self-defined control is exactly an object.
In JAVA programs, documentation of program i.e. such source program code of a class can be expressed as:Class name .java.
For example, the documentation of program of a class is Person.java, correspondingly, the entitled Person of class.Conversely, if it is known that an object such as
The class name of self-defined control, it is possible to find the source code of the object.Therefore, for developer, if can be quick
Know the class name of a self-defined control, it is possible to be quickly found out such source code, can quickly search through the above way
Source code, if mistake occurs in the source code, can quickly repair source code.
The purpose of the disclosure is, can be by the self-defined control when drawing self-defined control using default method for drafting
Class name draw out, it is shown in the superiors so that active user such as developer can be in the display of client software
The target informations such as the class name of self-defined control are seen in interface.
In the disclosure, the implementation of above-mentioned steps 12 can at least include following two situations:
The first situation, draws the target information of each self-defined control in the page
According to the solicited message, the client software for installing the acquisition for mobile terminal server-side return of client software is opened
Send out the corresponding page message in interface.Mobile terminal parses the page message, therefrom obtains the number of modules of modules in the page
According to each module corresponds to a self-defined control, and above-mentioned module data includes above-mentioned target information to be shown, such as the mould
The class name for the self-defined control that block uses.Assuming that current page includes 4 modules, correspondingly, the page used 4 it is self-defined
Control, according to relevant knowledge, self-defined control can be understood as the mould drawn out on UI (User Interface, user interface)
The pattern of block.The type of above-mentioned each self-defined control may be identical, it is also possible to different.It is each drawing in the embodiment of the present disclosure
During a self-defined control, target information can be drawn in the module according to default method for drafting, believe the target of self-defined control
Breath is shown in the superiors that module attempts, it is ensured that active user such as developer can directly be seen that the target of the Custom Space
Information, such as class name, as shown in figure 3-1, show the title of modules.
The second situation, if the type of each module is identical in the page and target information is also identical, merges in current page
Show above-mentioned target information
The method flow diagram of self-defined control information is shown referring to another kinds of the Fig. 4 according to an exemplary embodiment,
Above-mentioned steps 12 can include:
In step 121, the self-defined control list of the page is obtained, the self-defined control list includes:It is each
The correspondence of the positional information of module and the control type of self-defined control.
In the embodiment of the present disclosure, client software answers above-mentioned solicited message, and the page message obtained from server-side includes:
Module number and module data, wherein, module number is used to represent that current page is laid out how many a modules.Module data determines mould
Block display content, above-mentioned module data can include:Background, word, picture, module I D, module type, module position, target
The information such as information.
In one embodiment of the disclosure, above-mentioned module data includes at least:Module type, module location information, target letter
Breath.Wherein, client software can determine the control type for the self-defined control that current block uses according to above-mentioned module type.
Accordingly, the self-defined control list of current page can be obtained, which includes:Module position is believed
The correspondence of breath and the control type of self-defined control, it is exemplary, can be as shown in Table 1:
Module location information | Control type |
Position 1 | string |
Position 2 | ENU |
Position 3 | string |
Position 4 | ENU |
Table one
It was found from table one, the control type for the self-defined control that the module at position 1 uses is:String, with this
Analogize.
In step 122, the target of self-defined control described in the page is drawn according to the self-defined control list
Information.
, can be true according to the control type of each self-defined control in the page and target information content in the embodiment of the present disclosure
The drafting mode for the information that sets the goal.
The method flow diagram of self-defined control information is shown referring to another kinds of the Fig. 5 according to an exemplary embodiment,
Above-mentioned steps 122 can include:
In step 1221, the control type for determining each self-defined control according to the self-defined control list is
It is no identical;
According to the control type of the corresponding self-defined control of each module of self-defined control list records, it may be determined that current
Whether the control type of each self-defined control is consistent in the page, if unanimously, performing following step 1222.
In step 1222, if the control type of each self-defined control is identical, each self-defined control is determined
Whether the target information of part is identical;
In the embodiment of the present disclosure, client can determine the modules that the page includes self-defined control type whether
It is identical.It will again be assumed that current page includes 4 modules, the control of each self-defined control can be determined according to the module type of each module
Whether part type is identical, if the control type of each self-defined control is identical, it is necessary to further determine that the mesh of each self-defined control
Whether identical mark information.If the target information of each self-defined control is also identical, following step 1223 is performed.
In step 1223, if the target information of each self-defined control is identical, in the predeterminated position of the page
Draw the target information.
If the control type all same of the corresponding self-defined control of each module, the mesh of each self-defined control in current page
It is also identical to mark information, such as class name.Then, in the embodiment of the present disclosure, the target can be drawn in the predeterminated position of current page
Information, drawing result are to show a target information in the predeterminated position of current page, which represents in current page
The target information of each self-defined control.Exemplary, referring to another displays of the Fig. 3-2 according to an exemplary embodiment
The schematic diagram of self-defined control information, target information are class name, and the corresponding self-defined control type of 4 modules is identical, is drawing
Go out after the content of modules, the class name that modules correspond to self-defined control can be drawn out in page upper right side.
The method flow diagram of self-defined control information is shown referring to another kinds of the Fig. 6 according to an exemplary embodiment,
On the basis of embodiment illustrated in fig. 5, above-mentioned steps 122 can also include:
In step 1224, if the control type of each self-defined control is different or each self-defined control
Target information it is different, the target information of each self-defined control is drawn in the page.
Conversely, if the control type of the corresponding self-defined control of modules is different in the page, i.e. the negative of step 1221
Judging result, although alternatively, the control type of self-defined control is identical, target information to be shown is different, i.e. step 1222
Negative evaluation as a result, individually drawing target information for each self-defined control when module contents is drawn.For example, in control
In the case that type is identical, if the target information of request display is control ID, alternatively, class name+ID, due to modules ID not
Together, the ID of each control is also different, then the target information of each control is also different, is needed when module contents is drawn for each
Self-defined control individually draws target information.
If control type is different, exemplary, still by taking a page includes 4 modules as an example, drawing result may refer to
Shown in Fig. 3-1, at this time, the class name shown in modules is different.
Above-mentioned example only illustrates the control type or the different feelings of target information of the self-defined control of modules
Condition, it is anticipated that, if in the page when control type and target information all same of the adjacent two or more modules in position,
Display can also locally be merged, for example, in above-mentioned example, if the control type and target information all same of module 1 and module 2,
Can where two modules page area predeterminated position draw target information, made by oneself when user sees in above-mentioned predeterminated position
During the target information of adopted control, according to presetting rule, above-mentioned target information belongs to two modules i.e. module 1 and module 2 is right
The target information for the self-defined control answered, and understand, the control type of the corresponding self-defined control of above-mentioned two module is identical.
On the drafting in the various embodiments described above to target information, it is referred to Fig. 7 and is shown according to an exemplary embodiment
Another method flow diagram for showing self-defined control information, can include:
In step 1201, at least one provided by the self-defined base class inherited in the primary control of Android system is abstracted
Method obtains the corresponding target data of target information from the self-defined control;Wherein, the self-defined control is inherited in described
Self-defined base class;
Referring to a kind of structure diagram of View controls of the Fig. 8 according to an exemplary embodiment, in Android system,
For View controls as a kind of base class, the container control Viewgroup of class is distributed with its downstream site, and more next stage is distributed with three kinds
The primary control LinearLayout (linear placement) of Android system, FrameLayout (frame layout), RelativeLayout
(relative placement), can also be more in correlation technique.
When developer develops the part of a client software or client software based on Android system, it can set
Many self-defined controls, in the disclosure, the primary control that developer can be primarily based on aforesaid operations system is self-defined at least
A kind of base class, as shown in figure 8, being provided with three self-defined base class, title is respectively:Custom Base LinearLayout、
Custom Base FrameLayout、Custom Base RelativeLayout;The primary control of above three is inherited from respectively
Part:LinearLayout、FrameLayout、RelativeLayout.Each above-mentioned self-defined base class succession has multiple self-defined
Control, for example, the n self-defined control that numbering is respectively 21~2n is inherited in self-defined base class Custom Base
FrameLayout。
A kind of default abstract method can be provided in the embodiment of the present disclosure, in self-defined base class, the abstract method is as one
Kind interface can obtain the corresponding number of targets of target information to be shown from inheriting in the self-defined control of the self-defined base class
According to.Above-mentioned default abstract method can be the abstract method for printing class name, be expressed as name ().
In soft project, if being provided with abstract method in parent, each subclass inherited in the parent can all be realized
The abstract method.As above example, and with reference to shown in Fig. 8, self-defined base class Custom Base FrameLayout belong to self-defined
The parent of 21~2n of control, then 21~2n of self-defined control belong to the son of self-defined base class Custom Base FrameLayout
Class.
Assuming that self-defined base class Custom Base FrameLayout provide a kind of abstract method such as name (), then respectively
21~2n of self-defined control can realize above-mentioned beat as the subclass of above-mentioned self-defined base class Custom Base FrameLayout
The method of class name is printed, obtains the corresponding data, that is, target data of class name, above-mentioned target data is pre-charged with self-defined control.
In one embodiment of the disclosure, if often writing a class i.e. self-defined control defines a default abstract method, although
It can realize the printing of class name, but meeting code redundancy is very much, causes code very huge.And if it is follow-up find code error, it is necessary to
The corresponding code of multiple subclasses is changed in repetition.
In the disclosure, inherited by setting in the self-defined base class of the primary control of Android system, only need to be in self-defined base class
Default abstract method is provided, so succession will realize that above-mentioned preset is abstracted in subclass, that is, self-defined control of the self-defined base class
Method, such as the method for printing class name, you can the printing of all subclass class names is realized, if being found in program development process default
The code error of abstract method, quick modification or error correction to presetting abstract method can be achieved in base class, avoid code redundancy.
For example, there are 10 self-defined controls to inherit in a self-defined base class, if find target message misprint, such as, class name is beaten
Misprint mistake, the constructed fuction of class name Method of printing need to be only changed in above-mentioned self-defined base class, that is, parent, without repairing respectively
Change the constructed fuction of the 10 self-defined controls i.e. class name Method of printing of subclass, the embodiment of the present disclosure is by presetting abstract method
Reuse, the modification and error correction of default abstract method to avoid code redundancy, can be also convenient for, so as to improve code remediation efficiency, kept away
Exempt to omit and repair.
In step 1202, by rewriteeing the default method for drafting of the self-defined base class, draw successively described self-defined
The target information of the information of base class and the self-defined control.
In the disclosure, the drawing rule of method for drafting is preset after above-mentioned rewriting is:The information for drawing father's control first is painted again
The information of system control, it is ensured that the target information of child control can be shown.
In one embodiment of the disclosure, the above-mentioned default method for drafting that is rewritten in self-defined base class is
DispatchDraw (Canvas canvas) method, wherein, the entitled painting canvas of class that first Canvas represents object, second
Canvas represents class name parameter, that is, represents to be drawn on which painting canvas.
On why rewrite dispatchDraw () method, it is necessary to first in decorrelation technique View controls drafting
Journey:
Any one appears in onscreen view, can just be shown after being all the drafting flow by science.It is each
The drawing process of a view is all subjected to three most important stages, i.e. onMeasure (), onLayout (), onDraw
()。
Wherein, onMeasure () method is used for the size for measuring view;OnLayout () method, in measure
After process, it is laid out to view, that is, determines the position of view.OnDraw () method, in measure and
After layout processes, view is drawn.Above-mentioned view can be understood as control.
During being drawn to control content, for the control having powerful connections, its drawing process is to call first
OnDraw (), then call dispatchDraw () method, dispatchDraw () method mainly be distributed to child control into
Row is drawn.But for the drafting of container control Viewgroup, what is directly invoked when it does not have background is
DispatchDraw () method, has bypassed onDraw () method.
In order to ensure having powerful connections of drawing out or the self-defined control without background can show above-mentioned target information, this public affairs
Open and the dispatchDraw () method being inherited from the self-defined base class of Viewgroup controls is rewritten, make it can be with
Father's control information and child control information are drawn according to sequencing.As shown in figure 3-1, it is exemplary, self-defined base class Custom
When dispatchDraw () method after Base FrameLayout calling rewritings is drawn, the letter of its own is drawn first
Breath, then draw the information of subordinate's self-defined control.In above-mentioned drawing process, the content that postorder is drawn can be covered in first drafting figure
On layer, that is to say, that where the information of child control can be located at father's control information on figure layer, therefore, the disclosure is using above-mentioned heavy
DispatchDraw () method after writing, it can be ensured that the self-defined control information finally drawn out is revealed, it is above-mentioned from
Defining control information includes above-mentioned target information.
To sum up, the method for the display self-defined control information provided using the disclosure, mobile terminal can obtain user's hair
The default solicited message sent, the solicited message are used to ask to open client software development interface, are then believed according to above-mentioned request
Breath draws the target information of self-defined control in the page, which includes at least the class name of self-defined control so that current
The developer of user's such as client software can inquire about the information of target self-defined control whenever and wherever possible by mobile terminal,
The developer is facilitated to search the source code of the self-defined control in time and to the self-defined control according to above-mentioned target information
Source code carries out the operation such as repairing, and then improves the development efficiency of application developer, strengthens the intelligence degree of mobile terminal,
Improve user experience.
For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but
It is that those skilled in the art should know, the disclosure and from the limitation of described sequence of movement, because according to the disclosure, certain
A little steps can use other orders or be carried out at the same time.
Secondly, those skilled in the art should also know, embodiment described in this description belongs to alternative embodiment,
Necessary to involved action and the module not necessarily disclosure.
Corresponding with aforementioned applications function realizing method embodiment, the disclosure additionally provides application function realization device and phase
The embodiment for the terminal answered.
It is described referring to a kind of device block diagram of display self-defined control information of the Fig. 9 according to an exemplary embodiment
Device can include:
Request module 21, is configured as obtaining the solicited message for being used for asking opening client software development interface;
Display module 22, is configured as drawing the target information of self-defined control in the page, institute according to the solicited message
State the class name that target information includes at least self-defined control.
The device block diagram of self-defined control information is shown referring to another kinds of the Figure 10 according to an exemplary embodiment,
On the basis of Fig. 9 shown device embodiments, above-mentioned request module 21 can include:
Submodule 211 is triggered, when being configured as detecting default triggering information by preset interface, there is provided Information Authentication connects
Mouthful;
Submodule 212 is verified, is configured as verifying that interface obtains information to be verified and to described to be tested by described information
Demonstrate,prove information and carry out Information Authentication;
Submodule 213 is asked, is configured as in the case where the information to be verified is verified by described information, obtains institute
State solicited message.
The device block diagram of self-defined control information is shown referring to another kinds of the Figure 11 according to an exemplary embodiment,
On the basis of Fig. 9 shown device embodiments, the display module 22 can include:
List of controls acquisition submodule 221, is configured as obtaining the self-defined control list of the page, described self-defined
List of controls includes:The correspondence of the positional information of modules and the control type of self-defined control;
Information rendering submodule 222, is configured as being drawn described in the page certainly according to the self-defined control list
Define the target information of control.
The device block diagram of self-defined control information is shown referring to another kinds of the Figure 12 according to an exemplary embodiment,
On the basis of Figure 11 shown device embodiments, described information rendering submodule 222 can include:
Type determining units 2221, are configured as determining each self-defined control according to the self-defined control list
Control type it is whether identical;
Information determination unit 2222, is configured as in the case where the control type of each self-defined control is identical,
Determine whether the target information of each self-defined control is identical;
First drawing unit 2223, is configured as in the case where the target information of each self-defined control is identical,
The target information is drawn in the predeterminated position of the page.
The device block diagram of self-defined control information is shown referring to another kinds of the Figure 13 according to an exemplary embodiment,
On the basis of Figure 12 shown device embodiments, described information rendering submodule 222 can also include:
Second drawing unit 2224, the control type being configured as in each self-defined control are different or described each
In the case of the target information difference of a self-defined control, the target letter of each self-defined control is drawn in the page
Breath.
The device block diagram of self-defined control information is shown referring to another kinds of the Figure 14 according to an exemplary embodiment,
On the basis of Fig. 9 shown device embodiments, the display module 22 can include:
Target data acquisition submodule 2201, is configured as by inheriting in the self-defined base class of the primary control of Android system
At least one abstract method of offer, the corresponding target data of the target information is obtained from the self-defined control;Wherein, institute
Self-defined control is stated to inherit in the self-defined base class;
Target information rendering submodule 2202, is configured as the default method for drafting by rewriteeing the self-defined base class,
The information of the self-defined base class and the target information of the self-defined control are drawn successively.Implement in one device of the disclosure
In example, the default method for drafting can be:DispatchDraw () method by rewriting.Its drawing process is to paint first
The corresponding page original contents of root object processed, then draw the target information of self-defined control in the page, it is ensured that full page is drawn
After the completion of, the class name of the default exploitation information such as self-defined control of each self-defined control is visual in the page.
It is appreciated that in disclosure other embodiment, above-mentioned first drawing unit 2223, the second drawing unit 2224
It may further include above-mentioned target data acquisition submodule 2201 and target information rendering submodule 2202.
On the device in above-described embodiment, wherein modules perform the concrete mode of triggering in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein illustrating as separating component
Module may or may not be physically separate, may or may not be as the component that module is shown
Physical module, you can with positioned at a place, or can also be distributed on multiple mixed-media network modules mixed-medias.Can be according to the actual needs
Some or all of module therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying wound
In the case that the property made is worked, you can to understand and implement.
In addition, the disclosure additionally provides a kind of mobile terminal, which can include:Processor and for storage at
Manage the memory of device executable instruction;
Wherein, processor is configured as:
Obtain and be used to ask the solicited message for opening client software development interface;
The target information of self-defined control in the page is drawn according to the solicited message, the target information includes at least certainly
Define the class name of control.
It should be noted that other programs of memory storage, referring specifically to the description in previous methods flow, herein not
Repeat again, processor is additionally operable to perform other programs of memory storage.
Fig. 9 is an a kind of structure diagram of mobile terminal of the disclosure according to an exemplary embodiment.
With reference to Figure 15, for example, equipment 1500 can be the mobile phone for having routing function, computer, digital broadcasting end
End, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Equipment 1500 includes following one or more assemblies:Processing component 1502, memory 1504, power supply module 1509,
Multimedia component 1508, audio component 1510, the interface 1512 of input/output (I/O), sensor component 1514, and communication
Component 1516.
The overall triggering of the usual control device 1500 of processing component 1502, such as with display, call, data communication,
The triggering that camera triggers and record triggering is associated.Processing component 1502 can be performed including one or more processors 1520
Instruction, to complete all or part of step of above-mentioned method.In addition, processing component 1502 can include one or more moulds
Block, easy to the interaction between processing component 1502 and other assemblies.For example, processing component 1502 can include multi-media module,
To facilitate the interaction between multimedia component 1508 and processing component 1502.
Memory 1504 is configured as storing various types of data to support the triggering in equipment 1500.These data
Example includes being used for the instruction of any application program or method triggered in equipment 1500, contact data, telephone book data,
Message, picture, video etc..Memory 1504 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1509 provides electric power for the various assemblies of equipment 1500.Power supply module 1509 can include power management
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for equipment 1500.
Multimedia component 1508 is included in the screen of one output interface of offer between equipment 1500 and user.At some
In embodiment, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Touch-screen is may be implemented as, to receive input signal from the user.Touch panel includes one or more touch sensors
Touched with sensing, the gesture on slip and touch panel.Touch sensor can not only sense the boundary of a touch or slide action,
But also detection and touch or the relevant duration and pressure of slide trigger.In certain embodiments, multimedia component 1508
Including a front camera and/or rear camera.When equipment 1500 is in triggering pattern, such as screening-mode or video mode
When, front camera and/or rear camera can receive exterior multi-medium data.Each front camera and postposition shooting
Head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1510 is configured as output and/or input audio signal.For example, audio component 1510 includes a wheat
Gram wind (MIC), when equipment 1500 is in triggering pattern, during such as call model, logging mode and speech recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1504 or via communication
Component 1516 is sent.In certain embodiments, audio component 1510 further includes a loudspeaker, for exports audio signal.
I/O interfaces 1512 provide interface, above-mentioned peripheral interface module between processing component 1502 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor component 1514 includes one or more sensors, and the state for providing various aspects for equipment 1500 is commented
Estimate.For example, sensor component 1514 can detect opening/closed mode of equipment 1500, the relative positioning of component, such as group
Part is the display and keypad of equipment 1500, and sensor component 1514 can be with 1,500 1 groups of detection device 1500 or equipment
The position of part changes, the existence or non-existence that user contacts with equipment 1500,1500 orientation of equipment or acceleration/deceleration and equipment
1500 temperature change.Sensor component 1514 can include proximity sensor, be configured to connect in no any physics
Presence of nearby objects is detected when tactile.Sensor component 1514 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In certain embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1516 is configured to facilitate the communication of wired or wireless way between equipment 1500 and other equipment.If
Standby 1500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.It is exemplary at one
In embodiment, communication component 1516 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, communication component 1516 further includes near-field communication (NFC) module, to promote junction service.
For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module
Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, equipment 1500 can be by one or more application application-specific integrated circuit (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 1504 of instruction, above-metioned instruction can be performed to complete the above method by the processor 1520 of equipment 1500.Example
Such as, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and
Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is performed by the processor of equipment
When so that equipment is able to carry out a kind of method for showing self-defined control information, and this method includes:
Obtain and be used to ask the solicited message for opening client software development interface;
The target information of self-defined control in the page is drawn according to the solicited message, the target information includes at least certainly
Define the class name of control.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.The disclosure is intended to any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.
Claims (16)
- A kind of 1. method for showing self-defined control information, it is characterised in that applied in mobile terminal, the described method includes:Obtain and be used to ask the solicited message for opening client software development interface;The target information of self-defined control in the page is drawn according to the solicited message, the target information includes at least self-defined The class name of control.
- 2. according to the method described in claim 1, it is characterized in that, described obtain is used to ask to open client software exploitation circle The solicited message in face, including:When detecting default triggering information by preset interface, there is provided Information Authentication interface;Verify that interface obtains information to be verified and to the information progress Information Authentication to be verified by described information;If the information to be verified is verified by described information, the solicited message is obtained.
- It is 3. according to the method described in claim 2, it is characterized in that, self-defined in the drafting page according to the solicited message The target information of control, including:The self-defined control list of the page is obtained, the self-defined control list includes:The positional information of modules with The correspondence of the control type of self-defined control;The target information of self-defined control described in the page is drawn according to the self-defined control list.
- 4. according to the method described in claim 3, it is characterized in that, described draw the page according to the self-defined control list The target information of self-defined control in face, including:Determine whether the control type of each self-defined control is identical according to the self-defined control list;If the control type of each self-defined control is identical, determine each self-defined control target information whether phase Together;If the target information of each self-defined control is identical, the target information is drawn in the predeterminated position of the page.
- 5. according to the method described in claim 4, it is characterized in that, described draw the page according to the self-defined control list The target information of self-defined control, further includes in face:If the control type of each self-defined control is different or the target information of each self-defined control is different, The target information of each self-defined control is drawn in the page.
- 6. according to any method of Claims 1 to 5, it is characterised in that the mesh for drawing self-defined control in the page Information is marked, including:At least one abstract method provided by the self-defined base class inherited in the primary control of Android system, from described self-defined Control obtains the corresponding target data of the target information;Wherein, the self-defined control is inherited in the self-defined base class;By rewriteeing the default method for drafting of the self-defined base class, draw successively the self-defined base class information and it is described from Define the target information of control.
- 7. according to the method described in claim 6, it is characterized in that, the default method for drafting includes:dispatchDraw() Method.
- 8. a kind of device for showing self-defined control information, it is characterised in that be arranged in mobile terminal, described device includes:Request module, is configured as obtaining the solicited message for being used for asking opening client software development interface;Display module, is configured as drawing the target information of self-defined control in the page, the target according to the solicited message Information includes at least the class name of self-defined control.
- 9. device according to claim 8, it is characterised in that the request module includes:Submodule is triggered, when being configured as detecting default triggering information by preset interface, there is provided Information Authentication interface;Verify submodule, be configured as by described information verify interface obtain information to be verified and to the information to be verified into Row information is verified;Submodule is asked, is configured as, in the case where the information to be verified is verified by described information, obtaining the request Information.
- 10. device according to claim 9, it is characterised in that the display module includes:List of controls acquisition submodule, is configured as obtaining the self-defined control list of the page, the self-defined control row Table includes:The correspondence of the positional information of modules and the control type of self-defined control;Information rendering submodule, is configured as drawing self-defined control described in the page according to the self-defined control list Target information.
- 11. device according to claim 10, it is characterised in that described information rendering submodule includes:Type determining units, are configured as determining the control class of each self-defined control according to the self-defined control list Whether type is identical;Information determination unit, is configured as in the case where the control type of each self-defined control is identical, determines described Whether the target information of each self-defined control is identical;First drawing unit, is configured as in the case where the target information of each self-defined control is identical, in the page The predeterminated position in face draws the target information.
- 12. device according to claim 10, it is characterised in that described information rendering submodule, further includes:Second drawing unit, the control type being configured as in each self-defined control are different or described each self-defined In the case of the target information difference of control, the target information of each self-defined control is drawn in the page.
- 13. device according to claim 8, it is characterised in that the display module, including:Target data acquisition submodule, is configured as providing extremely by the self-defined base class inherited in the primary control of Android system A kind of few abstract method, the corresponding target data of the target information is obtained from the self-defined control;Wherein, it is described self-defined Control is inherited in the self-defined base class;Target information rendering submodule, is configured as the default method for drafting by rewriteeing the self-defined base class, draws successively The information of the self-defined base class and the target information of the self-defined control.
- 14. device according to claim 13, it is characterised in that the default method for drafting includes:dispatchDraw () method.
- 15. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the program The step of claim 1~7 any the method is realized when being executed by processor.
- A kind of 16. mobile terminal, it is characterised in that including:Processor and the memory for storing processor-executable instruction;Wherein, the processor is configured as:Obtain and be used to ask the solicited message for opening client software development interface;The target information of self-defined control in the page is drawn according to the solicited message, the target information includes at least self-defined The class name of control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711354518.5A CN108008955B (en) | 2017-12-15 | 2017-12-15 | Method and device for displaying user-defined control information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711354518.5A CN108008955B (en) | 2017-12-15 | 2017-12-15 | Method and device for displaying user-defined control information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108008955A true CN108008955A (en) | 2018-05-08 |
CN108008955B CN108008955B (en) | 2021-01-01 |
Family
ID=62059481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711354518.5A Active CN108008955B (en) | 2017-12-15 | 2017-12-15 | Method and device for displaying user-defined control information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108008955B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733443A (en) * | 2018-05-09 | 2018-11-02 | 成都市极米科技有限公司 | A kind of APP dynamic configuration systems and its implementation, Dynamic Configuration based on android system |
CN109213486A (en) * | 2018-08-20 | 2019-01-15 | 北京百度网讯科技有限公司 | Method and apparatus for generating customized visualization component |
CN110457084A (en) * | 2019-07-10 | 2019-11-15 | 五八有限公司 | A kind of loading method and device |
CN110865799A (en) * | 2019-10-31 | 2020-03-06 | 爱钱进(北京)信息科技有限公司 | Control information display method and device and storage medium |
CN111190592A (en) * | 2018-11-15 | 2020-05-22 | 武汉斗鱼网络科技有限公司 | Page creation method, storage medium, electronic device and system |
CN112328248A (en) * | 2019-10-28 | 2021-02-05 | 杭州衣科信息技术有限公司 | iOS platform interface setting method based on asynchronous disaster tolerance service system |
CN112579078A (en) * | 2019-09-27 | 2021-03-30 | 宝能汽车集团有限公司 | Human-computer interface layout method, multimedia system and vehicle |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070288858A1 (en) * | 2006-06-09 | 2007-12-13 | Mindy Pereira | Engine for rendering widgets using platform-specific attributes |
CN101369249A (en) * | 2007-08-14 | 2009-02-18 | 国际商业机器公司 | Method and apparatus for marking GUI component of software |
CN103197888A (en) * | 2013-03-29 | 2013-07-10 | 深圳众为兴技术股份有限公司 | Display control method and device of parameter interface |
CN105630290A (en) * | 2015-12-24 | 2016-06-01 | 青岛海信电器股份有限公司 | Interface processing method and device based on mobile device |
CN105740145A (en) * | 2016-01-27 | 2016-07-06 | 广州酷狗计算机科技有限公司 | Method and device for locating element in control |
CN106155712A (en) * | 2015-03-26 | 2016-11-23 | 阿里巴巴集团控股有限公司 | The acquisition methods of a kind of Windows control property and device |
-
2017
- 2017-12-15 CN CN201711354518.5A patent/CN108008955B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070288858A1 (en) * | 2006-06-09 | 2007-12-13 | Mindy Pereira | Engine for rendering widgets using platform-specific attributes |
CN101369249A (en) * | 2007-08-14 | 2009-02-18 | 国际商业机器公司 | Method and apparatus for marking GUI component of software |
CN103197888A (en) * | 2013-03-29 | 2013-07-10 | 深圳众为兴技术股份有限公司 | Display control method and device of parameter interface |
CN106155712A (en) * | 2015-03-26 | 2016-11-23 | 阿里巴巴集团控股有限公司 | The acquisition methods of a kind of Windows control property and device |
CN105630290A (en) * | 2015-12-24 | 2016-06-01 | 青岛海信电器股份有限公司 | Interface processing method and device based on mobile device |
CN105740145A (en) * | 2016-01-27 | 2016-07-06 | 广州酷狗计算机科技有限公司 | Method and device for locating element in control |
Non-Patent Citations (1)
Title |
---|
陈金友: "获取窗口与窗口中指定控件的各层级类名属性", 《绿色软件联盟》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733443A (en) * | 2018-05-09 | 2018-11-02 | 成都市极米科技有限公司 | A kind of APP dynamic configuration systems and its implementation, Dynamic Configuration based on android system |
CN109213486A (en) * | 2018-08-20 | 2019-01-15 | 北京百度网讯科技有限公司 | Method and apparatus for generating customized visualization component |
CN111190592A (en) * | 2018-11-15 | 2020-05-22 | 武汉斗鱼网络科技有限公司 | Page creation method, storage medium, electronic device and system |
CN111190592B (en) * | 2018-11-15 | 2022-06-21 | 武汉斗鱼网络科技有限公司 | Page creation method, storage medium, electronic device and system |
CN110457084A (en) * | 2019-07-10 | 2019-11-15 | 五八有限公司 | A kind of loading method and device |
CN110457084B (en) * | 2019-07-10 | 2021-11-30 | 五八有限公司 | Loading method and device |
CN112579078A (en) * | 2019-09-27 | 2021-03-30 | 宝能汽车集团有限公司 | Human-computer interface layout method, multimedia system and vehicle |
CN112328248A (en) * | 2019-10-28 | 2021-02-05 | 杭州衣科信息技术有限公司 | iOS platform interface setting method based on asynchronous disaster tolerance service system |
CN112328248B (en) * | 2019-10-28 | 2021-08-17 | 杭州衣科信息技术股份有限公司 | iOS platform interface setting method based on asynchronous disaster tolerance service system |
CN110865799A (en) * | 2019-10-31 | 2020-03-06 | 爱钱进(北京)信息科技有限公司 | Control information display method and device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108008955B (en) | 2021-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108008955A (en) | Show the method, apparatus of self-defined control information | |
EP3188414B1 (en) | Method and apparatus for controlling smart device | |
CN111866270B (en) | Application program control method and device and electronic equipment | |
CN104536935B (en) | Calculate display methods, calculate edit methods and device | |
CN103927081A (en) | Method and device for processing notification events | |
EP2940977B1 (en) | Method and device for sending information in voice service | |
JP6275828B2 (en) | Search result acquisition method and apparatus | |
CN107506637A (en) | Information displaying method and device, terminal and readable storage medium storing program for executing | |
CN105631254B (en) | Unlocking method and tripper | |
CN107230137A (en) | Merchandise news acquisition methods and device | |
CN107729000A (en) | Application program installation kit generation method and device | |
CN106775202A (en) | A kind of method and device of information transfer | |
CN111090866A (en) | Application authority management method, mobile terminal and computer readable storage medium | |
CN111694490B (en) | Setting method and device and electronic equipment | |
CN107239351A (en) | Method of attaching and device | |
CN104063424B (en) | Web page picture shows method and demonstration device | |
CN107945552A (en) | Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp | |
CN107819740A (en) | Verification method, terminal device, audio amplifier and the server of terminal device | |
CN108037912A (en) | Show the method, apparatus of page info | |
CN108009269A (en) | Show the method, apparatus of page data | |
CN106611112A (en) | Application program safe processing method, device and equipment | |
CN113485779A (en) | Operation guiding method and device for application program | |
CN106791088B (en) | Method and device for inputting application verification code | |
CN105530129A (en) | Router reset method and device | |
WO2023103901A1 (en) | Application management method and apparatus, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |