Method for expanding android system resource loading

An Android system and resource technology, applied in the direction of program loading/starting, program control design, instruments, etc., can solve the problems of the inability to use the Android system resource loading mechanism, the inability to use the Android system, and the low efficiency, so as to reduce coupling and judgment. The effect of many times and low efficiency

Active Publication Date: 2016-04-20
南京中科创达软件科技有限公司
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in some cases, the original resource loading mechanism cannot meet the needs. For example, telecom operators in the same region have main brands and sub-brands in the same region, and the main brands and sub-brands also have different customization requirements. However, the main brand The value of sub-brand MCC and MNC is the same, and it needs to be distinguished according to the value of SPN (operator name). In this case, the resource loading mechanism of Android system cannot be used; the main brand and sub-brand of the same telecom operator in the same region The values ​​of MCC, MNC and SPN are the same. In this case, it is necessary to distinguish and customize according to the GID (group ID) of the SIM card. In this case, the resource loading mechanism of the Android system cannot be used.
[0004] In the above cases, the system customization based on the SIM card can only be judged according to the values ​​of MCC, MNC, SPN and GID in the code, and then load the corresponding resource file in the code. However, in the case of many types of SIM cards, This method of judgment will be very troublesome and requires many judgments, which is inefficient and error-prone

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for expanding android system resource loading

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The technical scheme of the present invention will be further described in detail below in conjunction with the accompanying drawings:

[0024] A method for expanding resource loading of the Android system is characterized in that it specifically includes the following steps:

[0025] Such as figure 1 As shown, step 1, monitor the status change of the mobile phone SIM card;

[0026] Step 2: When the status of the SIM card changes, obtain the operator information of the SIM card, load different mapping tables according to the operator information, obtain the mapping results according to the mapping tables, and store the mapping results in the system properties to end the mapping;

[0027] Step 3: Before the Android system loads the resources, obtain the MCC, MNC and the package name of the currently running program in the device configuration information, and then save the obtained MCC and MNC into temporary variables;

[0028] Step 4. Determine whether the current program needs ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for expanding android system resource loading. When the scheme provided by the invention is not in used, different resources are loaded by various SIM cards and an Android system resource framework cannot be used; and a type of the SIM card has to be manually determined via codes and then resources are loaded in the codes and displayed. The former method requires high code coupling property and has to determine for many times, thereby possessing low efficiency. By the use of the method for expanding android system resource loading, just like the use of common resources, according to a map list, corresponding file folders are built under the resource file folder and the system can automatically map according to the current SIM card to load resources of the corresponding file folders; all the operations are transparent to other applications; and work load of other applications can be reduced, code coupling degree can be lowered and efficiency can be improved.

Description

Technical field [0001] The invention relates to a resource loading method, in particular to a method for expanding Android system resource loading, and belongs to the field of expanded Android system resource loading control. Background technique [0002] Due to the open source of the Android system, many manufacturers will customize their own Android systems. Operators will require different phone ringtones, boot animations, wallpapers, layouts and display contents of some applications according to different types of SIM cards. For such a demand, it is impossible to produce a set of software for each type of SIM card. Therefore, one software version is generally used to meet different needs. [0003] The native resource loading mechanism of the Android system already supports loading resources based on the MCC (mobile country code) and MNC (mobile network code) of the SIM card. Just create a folder -mcc country code -mnc network code under the system resource folder, When the cor...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F9/445
CPCG06F9/4451G06F9/454
Inventor 范振华常振杰蔡蓉赵鸿飞
Owner 南京中科创达软件科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products