Embodiment
The embodiment of the present application is according to the corresponding color of object of user input instruction or the corresponding target of external environment condition data
Color and an extensible markup language table, color is carried out more to constituting a set of solid color picture of general purpose module at interface
Change, so that the general purpose module at the composition interface after the color replacement is shown into that realizes the application program changes skin.This
Apply for picture of the embodiment without the general purpose module of storing multiple sets different colours, reduce programmer and entered for changing skin
Capable code revision amount, reduces design efforts would.And the embodiment of the present application only stores a set of of the general purpose module at composition interface
Solid color picture, application program occupies less memory space.
Although the application can have many various forms of embodiments, in the accompanying drawings display and will herein in detail
The specific embodiment of description, it should be appreciated that the disclosure of this embodiment should be considered as the example of principle, and be not intended to this Shen
It please be limited to the specific embodiment being shown and described.In the following description, identical label shows for describing the several of accompanying drawing
Identical, similar or corresponding part in figure.
As used herein, term " one " or " one kind " are defined as one (kind) or more than one (kind).As herein
Used, term " multiple " is defined as two or more than two.As used herein, term " other " is defined as at least again
It is one or more.As used herein, term "comprising" and/or " having " are defined to include (that is, open language).Such as
Used herein, term " coupling " is defined as connection, but is not necessarily to be directly connected to, and is not necessarily mechanically to connect.
As used herein, term " program " or " computer program " or similar terms are defined as designed on the computer systems
The command sequence of execution." program " or " computer program " may include subprogram, function, process, object method, object implementatio8,
Executable application, applet, servlet, source code, object code, shared library/dynamic load library and/or design are used
In the other command sequences performed on the computer systems.
Table is referred to " one embodiment ", " some embodiments ", " embodiment " or similar terms in whole this document
Show that the special characteristic described in conjunction with the embodiments, structure or characteristic are included at least one embodiment of the application.Therefore, exist
The appearance of the various local this words of whole this specification need not all represent identical embodiment.In addition, described specific
Feature, structure or characteristic can be combined in any suitable manner in one or more embodiments without limitation.
As used herein, term "or" should be construed as inclusive or any or any group of expression
Close.Therefore, " A, B or C " represent " following any one:A;B;C;A and B;A and C;B and C;A, B and C ".Only when element,
When function, step or the combination of action inherently mutually exclusive in some way, it will occur the exception of this definition.
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present application, below in conjunction with the application
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described reality
It is only some embodiments of the present application to apply example, rather than whole embodiments.Based on the embodiment in the application, this area is common
The every other embodiment that technical staff is obtained, should all belong to the scope of the application protection.
Further illustrate that the embodiment of the present application is implemented with reference to the embodiment of the present application accompanying drawing.
The embodiment of the application one puies forward a kind of method that application program changes skin, can be applied to the mobile terminals such as mobile phone, PAD or
PC terminals.
Referring to Fig. 1, the terminal is generally included:Main control chip 11, memory 12, input/output unit 13 and other are hard
Part 14.The main control chip 11 controls each functional module, and memory 12 stores each application program and data.
Referring to Fig. 2, methods described includes:
S1, reception user input instruction, and obtain the corresponding color of object of user input instruction.
The application user provides user to the application program by the input instruction of input/output unit 13 of the terminal
Change the color of object of skin, the terminal obtains the color of object for carrying out changing skin by user input instruction.
In the specific embodiment of the application one, referring to Fig. 3, the step S1 includes:
S11, the selection input instruction for receiving user, select a kind of color conduct in the guidance panel of the application program
Color of object;And/or,
S12, the input instruction of filling a vacancy for receiving user, input a kind of color conduct in the guidance panel of the application program
Color of object.
The input operation panel input selection input instruction for the input/output unit 13 that the application user passes through the terminal.
For example, user clicks multiple alternate color buttons, selection target color.This color of object determines method, and user can be more
In individual alternate color, by selecting input instruction to determine that the color of object of skin is changed in progress, it is easy to user to be operated.
The application user can also fill a vacancy defeated by the input operation panel input of the input/output unit 13 of the terminal
Enter instruction.For example, user fills in color in input area, color of object is generated.This color of object determines method, and user can be with
Random color is inputted, the color of object for determining to carry out changing skin by input instruction of filling a vacancy, user's progress changes the color category of skin more
Add change and flexible.
S2, according to the color of object and an extensible markup language table, one of general purpose module to constituting interface
Cover solid color picture and carry out color replacement.
Extensible markup language (XML), the subset of standard generalized markup language is a kind of for marking e-file to make it
With structural markup language.Retouched because extensible markup language is especially suitable for WWW transmission there is provided unified method
State and exchange the structural data independently of application program or supplier.Be in Internet environment it is cross-platform, dependent on interior
The technology of appearance, is also the effective tool of current processing distributed frame information.Therefore, herein described extensible markup language table
Color required for exchange skin is defined.Such as, it is necessary to which carry out 12 kinds of colors changes skin, then need to enter 12 kinds of colors
Row definition, each color one color code of correspondence.The extensible markup language table can be pre-stored within installation procedure, or
By updating bag, dynamic updates person in real time.
The application obtains color of object and an extensible markup language table, by searching the extensible markup language
The corresponding color code of color of object in table, the color replaced in a set of solid color picture for the general purpose module for constituting interface is compiled
Number for color of object numbering.So as to which the color that will constitute a set of solid color picture of the general purpose module at interface replaces with target
Color.
Specifically, general purpose module includes described in the application program:In background, dividing strip, cut-off rule, project, icon
It is at least one.
In the specific embodiment of the application one, referring to Fig. 4, the step S2 includes:
S21, acquisition color of object corresponding color code in an extensible markup language table.
Due to storing the color code that can carry out changing the color of skin in an extensible markup language table, the application passes through
The extensible markup language table is searched, the corresponding color code of color of object is obtained.
S22, the colour code name of general purpose module described in application program coding replaced with into the color of object correspondence
Color code.
In the application in the specific implementation, color can be carried out more by the picture of whole general purpose modules by interface is constituted
Change, skin is changed to whole general purpose modules at composition interface so as to realize.The application can also be only general by the part for constituting interface
The picture of component carries out color replacement, and skin is changed to the part general purpose module at composition interface so as to realize.
For example, the application can simultaneously carry out changing skin to main interface and pre action panel, can also only to main interface or
Person's pre action panel carries out changing skin.
Specifically, the colour code name of general purpose module described in the application program is unified to be encoded.So as to pass through
The colour code name of the general purpose module is only changed, changes described all by the color of component picture to realize, realizes to whole
General purpose module changes skin.Therefore, the complete whole display interface of realization that the present embodiment can be easier (that is, including main interface
With pre action panel) change skin.
The colour code name coding of general purpose module in application program is replaced by the application, i.e., will be logical in application program
The corresponding color code of the color of object is replaced with the existing colour code name coding of component.So as to the general purpose module
The color of a set of current color picture replaces with color of object.
The application only needs an extensible markup language table to can be achieved to general described in a set of application program
The picture of component is carried out changing skin, and the picture of the various skin colors of all general purpose modules is designed without designer, without depositing
The picture of the general purpose module of many various skin colors of set of storage.
S3, the general purpose module at the composition interface after the color replacement shown, realize changing for the application program
Skin.
The application obtains the picture for the general purpose module for carrying out the composition interface after color replacement, and shows the picture, from
And realize the application program change skin.
Picture of the embodiment of the present application without the general purpose module of storing multiple sets different colours, reduces programmer's pin
The code revision amount that exchange skin is carried out, reduces design efforts would.And the embodiment of the present application, which is only stored, constitutes the general of interface
A set of solid color picture of component, application program occupies less memory space.
Another embodiment of the application puies forward a kind of method that application program changes skin, can be applied to the mobile terminals such as mobile phone, PAD or
Person's PC terminals.
Referring to Fig. 1, the terminal is generally included:Main control chip 11, memory 12, input/output unit 13 and other are hard
Part 14.The main control chip 11 controls each functional module, and memory 12 stores each application program and data.
Referring to Fig. 5, methods described includes:
The color of object for the corresponding application program of external environment condition data that T1, determination are obtained.
The application can sense external environment condition data (for example, night or daytime) by sensing element.Specifically, if
The external environment condition data that sensing is obtained are daytime, then the color of object of the application program is white;If it is outer that sensing is obtained
Portion's environmental data is night, then the color of object of the application program is black.
T2, according to the color of object and an extensible markup language table, one of general purpose module to constituting interface
Cover solid color picture and carry out color replacement.
Extensible markup language (XML), the subset of standard generalized markup language is a kind of for marking e-file to make it
With structural markup language.Retouched because extensible markup language is especially suitable for WWW transmission there is provided unified method
State and exchange the structural data independently of application program or supplier.Be in Internet environment it is cross-platform, dependent on interior
The technology of appearance, is also the effective tool of current processing distributed frame information.Therefore, herein described extensible markup language table
Color required for exchange skin is defined.Such as, it is necessary to which carry out 12 kinds of colors changes skin, then need to enter 12 kinds of colors
Row definition, each color one color code of correspondence.The extensible markup language table can be pre-stored within installation procedure, or
By updating bag, dynamic updates person in real time.
The application obtains color of object and an extensible markup language table, by searching the extensible markup language
The corresponding color code of color of object in table, the color replaced in a set of solid color picture for the general purpose module for constituting interface is compiled
Number for color of object numbering.So as to which the color that will constitute a set of solid color picture of the general purpose module at interface replaces with target
Color.
Specifically, general purpose module includes described in the application program:In background, dividing strip, cut-off rule, project, icon
It is at least one.
In the specific embodiment of the application one, referring to Fig. 6, the step T2 includes:
T21, acquisition color of object corresponding color code in an extensible markup language table.
Due to storing the color code that can carry out changing the color of skin in an extensible markup language table, the application passes through
The extensible markup language table is searched, the corresponding color code of color of object is obtained.
T22, the colour code name of general purpose module described in application program coding replaced with into the color of object correspondence
Color code.
In the application in the specific implementation, color can be carried out more by the picture of whole general purpose modules by interface is constituted
Change, skin is changed to whole general purpose modules at composition interface so as to realize.The application can also be only general by the part for constituting interface
The picture of component carries out color replacement, and skin is changed to the part general purpose module at composition interface so as to realize.
For example, the application can simultaneously carry out changing skin to main interface and pre action panel, can also only to main interface or
Person's pre action panel carries out changing skin.
Specifically, the colour code name of general purpose module described in the application program is unified to be encoded.So as to pass through
The colour code name of the general purpose module is only changed, changes described all by the color of component picture to realize, realizes to whole
General purpose module changes skin.Therefore, the complete whole display interface of realization that the present embodiment can be easier (that is, including main interface
With pre action panel) change skin.
The colour code name coding of general purpose module in application program is replaced by the application, i.e., will be logical in application program
The corresponding color code of the color of object is replaced with the existing colour code name coding of component.So as to the general purpose module
The color of a set of current color picture replaces with color of object.
The application only needs an extensible markup language table to can be achieved to general described in a set of application program
The picture of component is carried out changing skin, and the picture of the various skin colors of all general purpose modules is designed without designer, without depositing
The picture of the general purpose module of many various skin colors of set of storage.
T3, the general purpose module at the composition interface after the color replacement shown, realize changing for the application program
Skin.
The application obtains the picture for the general purpose module for carrying out the composition interface after color replacement, and shows the picture, from
And realize the application program change skin.
Picture of the embodiment of the present application without the general purpose module of storing multiple sets different colours, reduces programmer's pin
The code revision amount that exchange skin is carried out, reduces design efforts would.And the embodiment of the present application, which is only stored, constitutes the general of interface
A set of solid color picture of component, application program occupies less memory space.
The correspondence above method, the embodiment of the application one carries the device that a kind of application program changes skin, can be applied to mobile phone, PAD
Deng mobile terminal or PC terminals.
Referring to Fig. 1, the terminal is generally included:Main control chip 11, memory 12, input/output unit 13 and other are hard
Part 14.The main control chip 11 controls each functional module, and memory 12 stores each application program and data.
Referring to Fig. 7, described device includes:
Color determination module 71, for receiving user input instruction, and obtains the corresponding color of object of user input instruction;
Component colour changing module 72, for according to the color of object and an extensible markup language table, to constituting boundary
A set of solid color picture of the general purpose module in face carries out color replacement;
Component display module 73, for the general purpose module at the composition interface after the color replacement to be shown, is realized
The application program changes skin.
The application user provides user to the application program by the input instruction of input/output unit 13 of the terminal
Change the color of object of skin, the terminal obtains the color of object for carrying out changing skin by user input instruction.
In the specific embodiment of the application one, referring to Fig. 8, the color determination module 71 includes:
Selection instruction unit 711, the selection input instruction for receiving user, in the guidance panel of the application program
A kind of color is selected as color of object;And/or,
Fill a vacancy command unit 712, the input instruction of filling a vacancy for receiving user, in the guidance panel of the application program
A kind of color is inputted as color of object.
The input operation panel input selection input instruction for the input/output unit 13 that the application user passes through the terminal.
For example, user clicks multiple alternate color buttons, selection target color.This color of object determines method, and user can be more
In individual alternate color, by selecting input instruction to determine that the color of object of skin is changed in progress, it is easy to user to be operated.
The application user can also fill a vacancy defeated by the input operation panel input of the input/output unit 13 of the terminal
Enter instruction.For example, user fills in color in input area, color of object is generated.This color of object determines method, and user can be with
Random color is inputted, the color of object for determining to carry out changing skin by input instruction of filling a vacancy, user's progress changes the color category of skin more
Add change and flexible.
Extensible markup language (XML), the subset of standard generalized markup language is a kind of for marking e-file to make it
With structural markup language.Retouched because extensible markup language is especially suitable for WWW transmission there is provided unified method
State and exchange the structural data independently of application program or supplier.Be in Internet environment it is cross-platform, dependent on interior
The technology of appearance, is also the effective tool of current processing distributed frame information.Therefore, herein described extensible markup language table
Color required for exchange skin is defined.Such as, it is necessary to which carry out 12 kinds of colors changes skin, then need to enter 12 kinds of colors
Row definition, each color one color code of correspondence.The extensible markup language table can be pre-stored within installation procedure, or
By updating bag, dynamic updates person in real time.
The application obtains color of object and an extensible markup language table, by searching the extensible markup language
The corresponding color code of color of object in table, the color replaced in a set of solid color picture for the general purpose module for constituting interface is compiled
Number for color of object numbering.So as to which the color that will constitute a set of solid color picture of the general purpose module at interface replaces with target
Color.
Specifically, general purpose module includes described in the application program:In background, dividing strip, cut-off rule, project, icon
It is at least one.
In the specific embodiment of the application one, referring to Fig. 9, the component colour changing module 72 includes:
Numbering obtaining unit 721, for obtaining color of object correspondence in an extensible markup language table
Color code.
Numbering replacement unit 722, for the colour code name coding of general purpose module described in the application program to be replaced with
The corresponding color code of the color of object.
Due to storing the color code that can carry out changing the color of skin in an extensible markup language table, the application passes through
The extensible markup language table is searched, the corresponding color code of color of object is obtained.
The colour code name coding of general purpose module in application program is replaced by the application, i.e., will be logical in application program
The corresponding color code of the color of object is replaced with the existing colour code name coding of component.So as to the general purpose module
The color of a set of current color picture replaces with color of object.
The application only needs an extensible markup language table to can be achieved to general described in a set of application program
The picture of component is carried out changing skin, and the picture of the various skin colors of all general purpose modules is designed without designer, without depositing
The picture of the general purpose module of many various skin colors of set of storage.
Specifically, the colour code name of general purpose module described in the application program is unified to be encoded.So as to pass through
The colour code name of the general purpose module is only changed, changes described all by the color of component picture to realize, realizes to whole
General purpose module changes skin.Therefore, the complete whole display interface of realization that the present embodiment can be easier (that is, including main interface
With pre action panel) change skin.
The application obtains the picture for the general purpose module for carrying out the composition interface after color replacement, and shows the picture, from
And realize the application program change skin.
In the application in the specific implementation, color can be carried out more by the picture of whole general purpose modules by interface is constituted
Change, skin is changed to whole general purpose modules at composition interface so as to realize.The application can also be only general by the part for constituting interface
The picture of component carries out color replacement, and skin is changed to the part general purpose module at composition interface so as to realize.
For example, the application can simultaneously carry out changing skin to main interface and pre action panel, can also only to main interface or
Person's pre action panel carries out changing skin.
Picture of the embodiment of the present application without the general purpose module of storing multiple sets different colours, reduces programmer's pin
The code revision amount that exchange skin is carried out, reduces design efforts would.And the embodiment of the present application, which is only stored, constitutes the general of interface
A set of solid color picture of component, application program occupies less memory space.
The correspondence above method, the embodiment of the application one carries the device that a kind of application program changes skin, can be applied to mobile phone, PAD
Deng mobile terminal or PC terminals.
Referring to Fig. 1, the terminal is generally included:Main control chip 11, memory 12, input/output unit 13 and other are hard
Part 14.The main control chip 11 controls each functional module, and memory 12 stores each application program and data.
Referring to Figure 10, described device includes:
Target determination module 101, for the target face for the corresponding application program of external environment condition data for determining to obtain
Color.
Color replacement module 102, for according to the color of object and an extensible markup language table, to constituting boundary
A set of solid color picture of the general purpose module in face carries out color replacement.
Colour changing display module 103, for the general purpose module at the composition interface after the color replacement to be shown, is realized
The application program changes skin.
The application can sense external environment condition data (for example, night or daytime) by sensing element.Specifically, if
The external environment condition data that sensing is obtained are daytime, then the color of object of the application program is white;If it is outer that sensing is obtained
Portion's environmental data is night, then the color of object of the application program is black.
Extensible markup language (XML), the subset of standard generalized markup language is a kind of for marking e-file to make it
With structural markup language.Retouched because extensible markup language is especially suitable for WWW transmission there is provided unified method
State and exchange the structural data independently of application program or supplier.Be in Internet environment it is cross-platform, dependent on interior
The technology of appearance, is also the effective tool of current processing distributed frame information.Therefore, herein described extensible markup language table
Color required for exchange skin is defined.Such as, it is necessary to which carry out 12 kinds of colors changes skin, then need to enter 12 kinds of colors
Row definition, each color one color code of correspondence.The extensible markup language table can be pre-stored within installation procedure, or
By updating bag, dynamic updates person in real time.
The application obtains color of object and an extensible markup language table, by searching the extensible markup language
The corresponding color code of color of object in table, the color replaced in a set of solid color picture for the general purpose module for constituting interface is compiled
Number for color of object numbering.So as to which the color that will constitute a set of solid color picture of the general purpose module at interface replaces with target
Color.
Specifically, general purpose module includes described in the application program:In background, dividing strip, cut-off rule, project, icon
It is at least one.
In the specific embodiment of the application one, referring to Figure 11, the color replacement module 102 includes:
Numbering query unit 1021, for obtaining color of object correspondence in an extensible markup language table
Color code.
Colour replacement unit 1022, for the colour code name coding of general purpose module described in the application program to be replaced with
The corresponding color code of the color of object.
Due to storing the color code that can carry out changing the color of skin in an extensible markup language table, the application passes through
The extensible markup language table is searched, the corresponding color code of color of object is obtained.
The colour code name coding of general purpose module in application program is replaced by the application, i.e., will be logical in application program
The corresponding color code of the color of object is replaced with the existing colour code name coding of component.So as to the general purpose module
The color of a set of current color picture replaces with color of object.
The application only needs an extensible markup language table to can be achieved to general described in a set of application program
The picture of component is carried out changing skin, and the picture of the various skin colors of all general purpose modules is designed without designer, without depositing
The picture of the general purpose module of many various skin colors of set of storage.
Specifically, the colour code name of general purpose module described in the application program is unified to be encoded.So as to pass through
The colour code name of the general purpose module is only changed, changes described all by the color of component picture to realize, realizes to whole
General purpose module changes skin.Therefore, the complete whole display interface of realization that the present embodiment can be easier (that is, including main interface
With pre action panel) change skin.
The application obtains the picture for the general purpose module for carrying out the composition interface after color replacement, and shows the picture, from
And realize the application program change skin.
In the application in the specific implementation, color can be carried out more by the picture of whole general purpose modules by interface is constituted
Change, skin is changed to whole general purpose modules at composition interface so as to realize.The application can also be only general by the part for constituting interface
The picture of component carries out color replacement, and skin is changed to the part general purpose module at composition interface so as to realize.
For example, the application can simultaneously carry out changing skin to main interface and pre action panel, can also only to main interface or
Person's pre action panel carries out changing skin.
Picture of the embodiment of the present application without the general purpose module of storing multiple sets different colours, reduces programmer's pin
The code revision amount that exchange skin is carried out, reduces design efforts would.And the embodiment of the present application, which is only stored, constitutes the general of interface
A set of solid color picture of component, application program occupies less memory space.
Figure 12 is that the hardware configuration of the electronic equipment for the method that a kind of application program that the embodiment of the present application is provided changes skin shows
It is intended to, as shown in figure 12, the equipment includes:
In one or more processors 1210 and memory 1220, Figure 12 by taking a processor 1210 as an example.
The electronic equipment that execution application program changes skin can also include:Input unit 1230 and output device 1240.
Processor 1210, memory 1220, input unit 1230 and output device 1240 can by bus or other
Mode is connected, in Figure 12 exemplified by being connected by bus.
Memory 1220 is as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey
Application program in sequence, non-volatile computer executable program and module, such as the embodiment of the present application changes the method correspondence of skin
Programmed instruction/module (for example, color determination module 71, component colour changing module 72, component display module shown in accompanying drawing 7
73).Processor 1210 is stored in non-volatile software program, instruction and module in memory 1220 by operation, so that
The various function application of execute server and data processing, that is, realize the method that above method embodiment application program changes skin.
Memory 1220 can include storing program area and storage data field, wherein, storing program area can store operation system
Application program required for system, at least one function;Storage data field can store the use that application program changes the electronic equipment of skin
Data created etc..In addition, memory 1220 can include high-speed random access memory, non-volatile deposit can also be included
Reservoir, for example, at least one disk memory, flush memory device or other non-volatile solid state memory parts.In some implementations
In example, memory 1220 is optional including the memory remotely located relative to processor 1210, and these remote memories can lead to
Cross the processing unit that network connection to application program changes skin.The example of above-mentioned network includes but is not limited to internet, in enterprise
Portion's net, LAN, mobile radio communication and combinations thereof.
Input unit 1230 can receive the numeral or character information of input, and produce the electronic equipment that application program changes skin
User set and function control it is relevant key signals input.Output device 1240 may include the display devices such as display screen.
One or more of modules are stored in the memory 1220, when by one or more of processors
During 1210 execution, the method that the application program in above-mentioned any means embodiment changes skin is performed.
The said goods can perform the method that the embodiment of the present application is provided, and possesses the corresponding functional module of execution method and has
Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present application is provided.
The electronic equipment of the embodiment of the present application exists in a variety of forms, includes but is not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data
Communicate as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low
Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and processing work(
Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio,
Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server is total including processor, hard disk, internal memory, system
Line etc., server is similar with general computer architecture, but is due to need to provide highly reliable service, therefore in processing energy
Require higher in terms of power, stability, reliability, security, scalability, manageability.
(5) other electronic installations with data interaction function.
Figure 13 is that the hardware configuration of the electronic equipment for the method that a kind of application program that the embodiment of the present application is provided changes skin shows
It is intended to, as shown in figure 13, the equipment includes:
In one or more processors 1310 and memory 1320, Figure 13 by taking a processor 1310 as an example.
The electronic equipment that execution application program changes skin can also include:Input unit 1330 and output device 1340.
Processor 1310, memory 1320, input unit 1330 and output device 1340 can by bus or other
Mode is connected, in Figure 13 exemplified by being connected by bus.
Memory 1320 is as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey
Application program in sequence, non-volatile computer executable program and module, such as the embodiment of the present application changes the method correspondence of skin
Programmed instruction/module (for example, target determination module 101, color replacement module 102, colour changing display module shown in accompanying drawing 10
103).Processor 1310 is stored in non-volatile software program, instruction and module in memory 1320 by operation, so that
The various function application of execute server and data processing, that is, realize the method that above method embodiment application program changes skin.
Memory 1320 can include storing program area and storage data field, wherein, storing program area can store operation system
Application program required for system, at least one function;Storage data field can store the use that application program changes the electronic equipment of skin
Data created etc..In addition, memory 1320 can include high-speed random access memory, non-volatile deposit can also be included
Reservoir, for example, at least one disk memory, flush memory device or other non-volatile solid state memory parts.In some implementations
In example, memory 1320 is optional including the memory remotely located relative to processor 1310, and these remote memories can lead to
Cross the processing unit that network connection to application program changes skin.The example of above-mentioned network includes but is not limited to internet, in enterprise
Portion's net, LAN, mobile radio communication and combinations thereof.
Input unit 1330 can receive the numeral or character information of input, and produce the electronic equipment that application program changes skin
User set and function control it is relevant key signals input.Output device 1340 may include the display devices such as display screen.
One or more of modules are stored in the memory 1320, when by one or more of processors
During 1310 execution, the method that the application program in above-mentioned any means embodiment changes skin is performed.
The said goods can perform the method that the embodiment of the present application is provided, and possesses the corresponding functional module of execution method and has
Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present application is provided.
The electronic equipment of the embodiment of the present application exists in a variety of forms, includes but is not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data
Communicate as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low
Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and processing work(
Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio,
Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server is total including processor, hard disk, internal memory, system
Line etc., server is similar with general computer architecture, but is due to need to provide highly reliable service, therefore in processing energy
Require higher in terms of power, stability, reliability, security, scalability, manageability.
(5) other electronic installations with data interaction function.
Further illustrate that the embodiment of the present application is realized below by the concrete application scene of the embodiment of the present application one.
The embodiment of the present application is applied on a mobile terminal, and the reality that application program changes skin is carried out using the embodiment of the present application
It is existing.
Referring to Figure 14, methods described includes:
The 1401st, the selection input instruction of user, the optional color provided in the guidance panel of the application program are provided
A kind of middle color of selection is used as color of object.
1402nd, color of object corresponding color code in an extensible markup language table is obtained.
1403rd, the colour code name coding that the general purpose module of Unified coding will be all carried out in the application program replaces with institute
State the corresponding color code of color of object.
1404th, whole general purpose modules at the composition interface after the color replacement are shown, realizes the application journey
Sequence changes skin.
Picture of the embodiment of the present application without the general purpose module of storing multiple sets different colours, reduces programmer's pin
The code revision amount that exchange skin is carried out, reduces design efforts would.And the embodiment of the present application, which is only stored, constitutes the general of interface
A set of solid color picture of component, application program occupies less memory space.
The embodiment of the present application is applied on a mobile terminal, and the reality that application program changes skin is carried out using the embodiment of the present application
It is existing.
Referring to Figure 15, methods described includes:
1501st, the color of object of the corresponding application program of external environment condition data obtained is determined.
1502nd, color of object corresponding color code in an extensible markup language table is obtained.
1503rd, the colour code name coding that the general purpose module of Unified coding will be all carried out in the application program replaces with institute
State the corresponding color code of color of object.
1504th, whole general purpose modules at the composition interface after the color replacement are shown, realizes the application journey
Sequence changes skin.
Picture of the embodiment of the present application without the general purpose module of storing multiple sets different colours, reduces programmer's pin
The code revision amount that exchange skin is carried out, reduces design efforts would.And the embodiment of the present application, which is only stored, constitutes the general of interface
A set of solid color picture of component, application program occupies less memory space.
It will be understood by those skilled in the art that embodiments herein can be provided as method, device (equipment) or computer
Program product.Therefore, in terms of the application can be using complete hardware embodiment, complete software embodiment or combination software and hardware
Embodiment form.Moreover, the embodiment of the present application can be used wherein includes computer available programs generation one or more
The meter implemented in the computer-usable storage medium (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code
The form of calculation machine program product.
The application is the flow chart and/or square frame of the method with reference to embodiment, device (equipment) and computer program product
Figure is described.It should be understood that can be by each flow in computer program instructions implementation process figure and/or block diagram and/or side
Frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These computer program instructions can be provided to logical
With the processor of computer, special-purpose computer, Embedded Processor or other programmable data processing devices to produce a machine
Device so that produced by the instruction of computer or the computing device of other programmable data processing devices for realizing in flow
The device for the function of being specified in one flow of figure or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the application scope.Obviously, those skilled in the art can be to the application
Embodiment carries out various changes and modification without departing from spirit and scope.So, if the embodiment of the present application this
A little modifications and variations belong within the scope of the embodiment of the present application claim and its equivalent technologies, then the application is also intended to include
Including these changes and modification.