Modular development method for Android
A technology of modularization and importing modules, which is applied in the direction of program control devices, etc., can solve the problems of no resource and activity definition, unavailable modules, and ADT cannot recognize them, so as to improve stability and scalability, improve reusability, The effect of reducing duplication of work
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0044] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.
[0045] [Example 1] Export the module. Such as figure 1 , figure 2 , image 3 shown.
[0046] 1. The fields in the R.class file generated by the Android compiler by default are of public static final type. References to R files (for example: R.layout.main) will be compiled into constant values (for example: 0x7f020000), but once As a module, when added to other projects, the index value of the resource (that is, the R file) will change (for example, it becomes: 0x7f060018), which means that the original reference to the resource (0x7f020000) will not find this resource file, an error will occur.
[0047] 2. The Android compiler does not package resource files by default.
[0048] 3. The export module needs to inform other projects how many activities it has available, so that other projects can register the Activity to And...
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