View object control method and electronic equipment
A technology for electronic equipment and object control, applied in the field of electronics, can solve the problem of floating windows affecting user operations and other issues
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] Embodiment 1 provides a method for controlling a view object, which is applied to an electronic device capable of running at least a first application process, such as a PAD (tablet computer), a smart phone, a personal computer, and the like.
[0050] refer to figure 1 , the method includes:
[0051] S101: When it is determined that at least one floating window is included in the first application process, inject the first instance and the second instance different from the first instance into the first application process, so as to be displayed in a preset form in the first application process running the first instance, wherein the first instance and the second instance are computer-implemented logic for performing their respective functions;
[0052] S102: At time T1 after injecting the first instance and the second instance into the first application process, time TI is before the floating window appears on the first window, obtain M view object instances and M vie...
Embodiment 2
[0057] In Embodiment 2, in combination with the implementation method in Embodiment 1, after step S101 is executed, the following steps are then performed: Step 1: Obtain the window management interface instance in the first application process based on the JAVA reflection mechanism; Step 2: Based on JAVA The reflection mechanism obtains M view object instances and M groups of parameter instances in the window management interface instance.
[0058] Taking the Android architecture as an example, after the first instance and the second instance are injected into the first application process based on the implementation in the first embodiment above, the Dalvik instance (virtual machine instance) of the first application process is obtained based on the first instance, thereby passing Dalvik loads the JAR file in the first instance to execute the java code in the JAR file. When executing the JAR file, it obtains the first application process in the window management interface ins...
Embodiment 3
[0060] In an implementation manner of this embodiment, in order to realize more real-time interception of the floating window, continue to use the implementation manner in the above-mentioned embodiment 1 or embodiment 2, in step S102, according to M groups of parameter instances, from M view object instances Determining the N view object instances in is specifically as follows: according to the i-th set of parameter instances, it is judged whether the i-th view object corresponding to the i-th view object instance is the type of the floating window, and i takes integers from 1 to M in turn, Specifically, according to the obtained window type parameter in the i-th group of parameters, it is judged whether the generated i-th view object is a floating window type, and when it is judged that the i-th view object is the type of the floating window, call The second instance: controlling the ith view object to be in the non-floating display state on the upper layer of the first windo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com