Interface encapsulation method and system achieving Android JNI reflection
An encapsulation method and encapsulation system technology, applied in program control devices, execution paradigms, etc., can solve the problems of inability to locate directly, difficult to debug, and a large amount of code, so as to achieve efficient, concise and intuitive interface encapsulation, improve development efficiency, and simplify The effect of the interface
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0020] Since the reflection in the Java layer is realized by classes such as Class, Method and Field, in order to achieve the consistency of calling methods, the encapsulation method of the present invention is also realized based on these three classes of Class, Method and Field.
[0021] see figure 1 As shown, the embodiment of the present invention provides an interface encapsulation method for implementing Android JNI reflection, comprising the following steps:
[0022] Step S1: complete the function setting of the Reflect module and encapsulate it into a corresponding functional interface. The function of the Reflect module includes binding the Field module, Method module, and Class module of the Native layer to the corresponding components of the Java layer (its functions are similar to For mapping, the purpose is to shield the...
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