CN104915188B - A kind of method, system and mobile terminal changing theme - Google Patents
A kind of method, system and mobile terminal changing theme Download PDFInfo
- Publication number
- CN104915188B CN104915188B CN201410093161.XA CN201410093161A CN104915188B CN 104915188 B CN104915188 B CN 104915188B CN 201410093161 A CN201410093161 A CN 201410093161A CN 104915188 B CN104915188 B CN 104915188B
- Authority
- CN
- China
- Prior art keywords
- application program
- resource
- interface
- interface subject
- subject
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of method, system and mobile terminals for changing theme, the method includes when starting application program, the storage path of the interface subject resource of application program is redirected in customized system path, to obtain the interface subject resource of simultaneously loading application programs from customized system path, the customized system path shows the corresponding interface subject of the interface subject resource for saving customized and executed interface subject resource in the interface of the application program.By the above-mentioned means, the present invention can improve the stability of system when changing the interface subject of application program.
Description
Technical field
The present invention relates to technical field of internet application, more particularly to a kind of method, system and movement for changing theme
Terminal.
Background technique
With the continuous development of mobile terminal technology, more and more mobile terminals can support the boundary of system or application program
Face theme changes function, so that user can modify the interface subject wind of system desktop or application program according to the hobby of oneself
Lattice.Element that interface subject uses such as picture, font, color, layout, audio, length, spacing etc. is interface subject
Resource, an interface subject include various interface subject resources.Therefore, modification interface subject style is according to certainly
The interface subjects resources such as oneself picture, font, the color of hobby change interface subject.For application program, when using journey
When sequence is to system request interface subject resource, system is obtained according to the memory table for resource impact established by application program
The corresponding interface subject resource of application program.Usual system can be each interface subject resource allocation one used in application program
A ID, the memory table are used to record interface subject resource and the mapping relations of ID, and system obtains corresponding interface by ID
Subject resource.
In the prior art, when needing to modify the interface subject resource of application program, usually by interface subject resource
Interface subject resource required for interface subject resource corresponding to ID replaces with, for example, when application program is to system request
When ID is the interface subject resource of A, by the way that A is converted to B value, gone to obtain interface subject resource corresponding to B value according to B value,
And acquired interface subject resource is considered as the interface subject resource that A is referred to and returns to application program, although boundary at this time
Face subject resource is to go to obtain by A, but actually finally used interface subject resource is boundary corresponding to B to application program
Face subject resource changes B into from there through by A, realizes the replacement of interface subject resource.
Therefore, in the above method, when modifying the interface subject of application program, in application program launching to use modification
When rear interface subject, the memory table for resource impact for needing updating system to be established by application program, in this way, brush
The new memory table can cause large effect to the operation of system, be unfavorable for the stabilization of system.If also, the number of modification relatively frequency
Numerous, the number for refreshing memory table also accordingly becomes frequent, it is more difficult to guarantee the stability of system.
Summary of the invention
The invention mainly solves the technical problem of providing a kind of method, system and mobile terminals for changing theme, can
The stability of system is improved when changing the interface subject of application program.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: a kind of method changing theme is provided,
It include: that the storage path of the interface subject resource of application program is redirected to customized system road when starting application program
In diameter, to obtain the interface subject resource of simultaneously loading application programs from customized system path, customized system path is used for
Save customized and executed interface subject resource;The corresponding boundary of display interface subject resource in the interface of application program
Face theme.
Wherein, before starting application program the step of, comprising: receive user's request;It will at least be answered according to user's request
It is copied in customized system path with the corresponding resource file of interface subject resource of program;Decompress the interface master of application program
The corresponding resource file of resource is inscribed to obtain the interface subject resource of application program, and generates interface subject resource change signal;
Signal, which is changed, according to interface subject resource refreshes the corresponding buffering of interface subject resource of application program with the application program that comes into force
Interface subject resource.
Wherein, at least the corresponding resource file of interface subject resource of application program is copied to according to user's request and is made by oneself
Step in adopted system path includes: to be requested according to user by the corresponding resource file of interface subject resource comprising application program
Theme packet be copied in customized system path.
Wherein, before the step of receiving user's request, comprising: it is corresponding to receive the interface subject resource comprising application program
Resource file theme packet, and by theme packet be stored in in the different predefined paths of customized system path;Decompression master
Topic packet is to obtain subject description the file information;It is showed topics according to subject description the file information and wraps corresponding interface subject
Preview effect.
Wherein, after decompressing the step of theme packet is to obtain subject description the file information, comprising: save subject description
Property the file information is backed up into database, and by theme packet, to realize the display of preview effect.
In order to solve the above technical problems, another technical solution used in the present invention is: providing a kind of realization theme change
System, comprising: control module, for when starting application program, by the storage path of the interface subject resource of application program
It is redirected in customized system path, to obtain the interface subject money of simultaneously loading application programs from customized system path
Source, customized system path is for saving customized and executed interface subject resource;Display module, for applying journey
The corresponding interface subject of display interface subject resource in the interface of sequence.
Wherein, further includes: receiving module, for receiving user's request;Module is copied, at least will according to user's request
The corresponding resource file of interface subject resource of application program is copied in customized system path;First obtains module, is used for
The corresponding resource file of interface subject resource of application program is decompressed to obtain the interface subject resource of application program;Signal generates
Module changes signal for generating interface subject resource according to the interface subject resource for obtaining application program acquired in module;
Resource comes into force module, for changing the corresponding buffering of interface subject resource that signal refreshes application program according to interface subject resource
With the interface subject resource for the application program that comes into force.
Wherein, copy module is used for according to user's request that the corresponding resource of the interface subject resource comprising application program is literary
The theme packet of part is copied in customized system path.
Wherein, memory module, for receiving the theme of the corresponding resource file of interface subject resource comprising application program
Packet, and by theme packet be stored in in the different predefined paths of customized system path;Second obtains module, for decompressing master
Topic packet is to obtain subject description the file information;Wherein, display module is also used to be shown according to subject description the file information and lead
Topic wraps the preview effect of corresponding interface subject.
In order to solve the above technical problems, another technical solution that the present invention uses is: providing a kind of realization theme change
Mobile terminal, including any of the above-described realize interface subject change system.
The beneficial effects of the present invention are: being in contrast to the prior art, the present invention is changed in the method for theme, is being started
When application program, the storage path of the interface subject resource of application program is redirected in customized system path, with
It is obtained from customized system path and the interface subject resource of loading application programs, the customized system path is used to save certainly
Definition and executed interface subject resource, to need to only be provided to the interface subject of application program in application program launching
The storage path in source is once redirected, thus according to interface required for obtaining in the customized system path after redirection
Subject resource, the memory table for resource impact established by not needing updating system by application program, so as to mention
The stability of high system keeps system more reliable, while the efficiency of system operation can be improved.
Detailed description of the invention
Fig. 1 is the flow chart of one embodiment of method of present invention change theme;
Fig. 2 is to start the flow chart before application program in another embodiment of method of present invention change theme;
Fig. 3 is the structural schematic diagram for one embodiment of system that the present invention realizes theme change;
Fig. 4 is the structural schematic diagram for another embodiment of system that the present invention realizes theme change.
Specific embodiment
In general, the interface subject of system generally comprises the interface subject of desktop and the interface subject of application program, wherein answer
Refer to the various application programs of system with program, i.e. the shown corresponding application program of various icons on the table.The boundary of desktop
Face theme for example refers to the styles such as desktop icons shape, Icon Color, desktop background, font size or font type, using journey
The interface subject of sequence for example refers to interface color, layout, the font of short message etc. shown after the application program of opening " short message "
Style for another example opens the look & feel etc. of browser shown by the application program of " web browser ".Therefore, system
Theme packet corresponding to interface subject generally includes the interface subject resource of system desktop and the interface subject resource of application program,
When the theme packet of the interface subject of a system to be applied to the current interface theme for system, the interface subject of system desktop and
The interface subject of systematic difference program is changed to interface subject corresponding with the theme packet.Through the invention, in system
When interface subject changes or is only the interface subject change of application program, do not need to refresh application program for resource impact
Memory table, thus, it is possible to improve the stability of system and efficiency.
Below in conjunction with drawings and embodiments, the present invention will be described in detail.
Refering to fig. 1, the present invention changes in one embodiment of method of theme, and interface subject refers to the interface master of application program
Topic, by present embodiment, user can realize interface subject according to the interface subject of personalized preference custom application program
Personalized customization, while can change application program interface subject when improve system stability, keep system more reliable.
Specifically, include the following steps:
Step S101: when starting application program, the storage path of the interface subject resource of application program is redirected to
It is customized to obtain the interface subject resource of simultaneously loading application programs from customized system path in customized system path
System path is for saving customized and executed interface subject resource.
Step S102: the corresponding interface subject of display interface subject resource in the interface of application program.
Above-mentioned steps S101 and step S102 is interface subject resource redirection process, i.e. starting application program is to use use
The stage of the interface subject resource of family personalized customization.
Application program is when starting, interface subject resource needed for needing to find its interface subject in systems.Weight
The storage path of interface subject resource needed for orientation refers to the interface subject by application program is directed to customized system path
In, with the path of interface subject resource needed for determining application program for customized system path, i.e., notice application program from
It defines in system path and obtains its required interface subject resource.To i.e. from customized when application program launching
Its required interface subject resource is obtained in system path, and acquired interface subject resource pooling is then entered into application program
Buffer area to load the interface subject resource, after application program launching, show the interface master of loaded application program
Inscribe the corresponding interface subject of resource.
Wherein, customized system path is the customized system store path of user, for saving user individual customization
And executed interface subject resource need to only make corresponding therefore when user needs to modify the interface subject of application program
The interface subject resource of personalized customization is deposited in the customized system path, thus making the boundary in customized system path
After face subject resource comes into force, it can be realized by above-mentioned redirection mode by the boundary of personalized customization in application program launching
Face subject resource is applied in the interface subject of application program, to realize the personalized customization of the interface subject of application program.Cause
This, when user modifies the interface subject of application program, when starting interface subject resource of the application program to use personalized customization,
The memory table for resource impact that updating system is established by application program is not needed, but makes to answer by way of redirection
The interface subject resource of personalized customization is obtained with program, so as to improve the stability of system operation, and compared to refreshing
Also it can be improved the operational efficiency of system for memory table, while the personalization that can be realized the interface subject of application program is fixed
System.
In addition, before the storage path of the interface subject resource of application program is redirected to customized system path,
It can first judge interface subject resource needed for whether preserving application program in customized system path, when the judgment is yes,
Illustrate interface subject resource needed for preserving the application program of user institute personalized customization in customized system path, at this time
Execute step S101;When the judgment is no, illustrating user, there is no the interface subjects to application program to carry out personalized customization, i.e.,
It does not modify to the interface subject of application program, at this time without above-mentioned step S101, but it is former to obtain application program
The original interface subject resource pooling of acquired application program, is entered the buffering of application program by the interface subject resource come later
Area is to load original interface subject resource, so that application program uses original interface subject.
Referring to Fig.2, the present invention changes in another embodiment of theme, user can be according to oneself hobby customized application journey
The interface subject resource of sequence, and the interface subject resource of its personalized customization is uploaded in system with reality by way of upload
The modification of the interface subject of existing application program, so that the interface subject of application program is able to use interface customized in user
Subject resource.Specifically, before starting application program, include the following steps:
Step S201: the theme packet of the corresponding resource file of interface subject resource comprising application program is received, and will be led
Topic packet be stored in in the different predefined paths of customized system path.
When user need to modify application program interface subject be its needed for personalized interface theme when, it is necessary first on
The interface subject resource of the application program of its personalized customization is passed, specially by the interface subject resource boil down to of personalized customization
Resource file, and the form that resource file is fabricated to theme packet is uploaded in predefined paths, system receives the master that user uploads
Topic packet, and the theme packet is stored in predefined paths.Certainly, in other embodiments, user can also be by under network
The mode of load directly downloads the theme packet needed for it into predefined paths.
Step S202: decompression theme packet is to obtain subject description the file information.
In order to obtain preview effect, when making theme packet, in addition to including the corresponding money of interface subject resource in theme packet
It also include subject description the file information corresponding to the theme packet outside source file.When system senses increase into predefined paths
When having added theme packet, decompression increased theme packet retouched with the theme for obtaining the interface subject corresponding to the theme packet
The property stated the file information, subject description the file information include interface subject title, interface subject author and some effect pictures etc..
In addition, saving descriptive the file information into database after obtaining subject description the file information, and theme packet is carried out
Backup can not be restored with preventing mistake from deleting interface subject.
Step S203: it is showed topics according to subject description the file information and wraps the preview effect of corresponding interface subject.
After the preservation and the backup of theme packet for completing subject description the file information, system is believed according to subject description file
Breath, the preview effect of interface subject corresponding to the theme packet is shown to user, enables a user to the preview interface subject,
To be decided whether using the theme packet according to preview effect interface subject corresponding to the theme packet is become application program
Current interface theme.
Above-mentioned steps S201-S203 is the process of interface subject preview, after completing interface subject preview, executes following step
Suddenly so that interface subject resource comes into force:
Step S204: user's request is received.
While system shows preview effect to user, issues the user with and ask whether the theme packet of the personalized customization
Using the current interface theme for application program, when user's selection is, system receives user for the theme of its personalized customization
The corresponding interface subject of packet applies the request command of the current interface theme for application program.
Step S205: the corresponding resource file of interface subject resource of application program is copied to according to user's request and is made by oneself
In adopted system path.
In step S202, theme packet is decompressed, other than decompression obtains subject description the file information,
Resource file corresponding to the interface subject resource of personalized customization in theme packet also is extracted out.According to the request of user
User is requested the personalized corresponding resource file of interface subject resource used to be copied to from predefined paths certainly by order
It defines in system path.Wherein, predefined paths are mainly used for storing the theme packet for all personalized customization that user is uploaded,
Only when using the corresponding resource file of some theme packet, just used resource file can be copied to customized system
In system path, so as to reduce the occupancy of system resource.User can according to need modification predefined paths.
Step S206: the corresponding resource file of interface subject resource of application program is decompressed to obtain the interface of application program
Subject resource, and generate interface subject resource change signal.
The resource file is decompressed to obtain corresponding interface subject resource, thus according to acquired interface subject resource with
Know which part interface subject resource of application program is changed, to generate interface subject resource change signal.Certainly,
In other embodiments, it can also be that copy entire subject matter packet into customized system path, is led firstly the need of decompression at this time
Topic packet is again to decompress resource file to obtain relevant interface subject resource after obtaining resource file.
Step S207: the corresponding buffering of interface subject resource that signal refreshes application program is changed according to interface subject resource
With the interface subject resource for the application program that comes into force.
After solution extrudes relevant interface subject resource in resource file, thus, it is possible to know the interface subject of application program
Which part resource changed, that is, illustrate that the interface subject of application program needs to modify, refresh application program at this time
The corresponding buffering of interface subject resource, the interface with the interface subject resource for the application program that comes into force, i.e., by refreshing application program
Subject resource is to realize the deployment to the interface subject resource of application program, so that the interface subject of application program will use
The interface subject resource.
The interface subject of user individual customization need to start application program after the interface subject resource for the application program that comes into force
It can see later.After the order for receiving user launches application, start application program, it is according to figure 1 at this time
Executed interface subject resource is applied in the interface subject of application program by step S101 and step S102, thus realization pair
The personalized customization of the interface subject of application program, and obtain by the redirection mode of step S101 the interface master of application program
Resource is inscribed, can be improved the stability and efficiency of system operation.It, can be with by the method for the change interface subject of present embodiment
The interface subject of application program is comprehensively modified, is also possible to carry out part modification to interface subject, need to will only need
The interface subject resource of modification is uploaded in predefined paths by theme packet form, then so that interface subject resource is come into force and be can be realized
Modification to the interface subject of application program.
In other embodiments, the above method is equally applicable to the modification of the interface subject of system.The interface master of system
Topic generally includes the interface subject of desktop and the interface subject of application program.When user needs to modify the interface subject of system,
The relevant interface subject resource of its personalized customization need to be only uploaded in predefined paths in the form of theme packet, when user selects
When selecting the corresponding theme packet of interface subject of the system for being uploaded it and applying the current interface theme for system, according to user's
Request command comes into force the interface subject resource of the personalized customization in the theme packet, wherein the boundary of the personalized customization in theme packet
Face subject resource includes boundary needed for the interface subject of interface subject resource and application program needed for the interface subject of desktop
Face subject resource, to complete the deployment of the interface subject resource in theme packet, the interface master of system desktop is can be seen in user at this time
Topic has been changed to the corresponding interface subject of theme packet of user institute personalized customization, and when user launches application, lead to
The redirection mode for crossing above-mentioned steps S101 obtains the boundary for the application program that user individual customizes in customized system path
Interface subject resource needed for the theme of face, to realize the personalized customization of the interface subject of application program.
It in the above-described embodiment, is the boundary that the current interface theme of application program is revised as to the personalized customization of user institute
Face theme is by increasing customized theme packet in predefined paths to apply the corresponding interface subject of theme packet
The current interface theme of application program.In other embodiments, the deletion function of the interface subject of application program can also be realized
Can, to facilitate the interface subject of management application program.Specifically, when user selects one will saved in predefined paths application
When the theme packet of program is deleted, after system receives the request command that user deletes theme packet, according to the request command by theme packet
It is deleted with subject description the file information corresponding with the theme packet etc. is saved in database, and judges the deleted theme packet
Whether corresponding interface subject resource is the interface subject resource to enter into force, that is, judges the deleted corresponding interface of theme packet
Whether subject resource is interface subject resource used in the current interface theme of application program.When the judgment is no, illustrate to use
The theme packet that family is deleted is not theme packet used in the current interface theme of application program, is not required at this time to application program
Current interface theme handled, complete theme packet deletion.When being judged as YES, the theme packet for illustrating that user is deleted is
Theme packet used in the current interface theme of application program, i.e., what user was deleted is the current interface theme of application program,
The interface subject of reduction application program default at this time.
Further, during restoring the Default Subject of application program, first by the current interface master of application program
The corresponding interface subject resource of topic is deleted, that is, is deleted the interface subject Resource TOC to enter into force, illustrated application program at this time
Interface subject used in interface subject resource have occurred that variation, thus generate interface subject resource change signal, and
Signal, which is changed, according to the interface subject resource refreshes the interface subject resource pooling of application program with the application program default that comes into force
The corresponding interface subject resource of interface subject, thus when starting application program, by the interface subject resource of application program
The storage path corresponding interface subject resource of interface subject that is redirected to application program default storage path in, with from answering
The corresponding boundary of interface subject of default is obtained in the storage path for the corresponding interface subject resource of interface subject defaulted with program
Face subject resource, and by acquired interface subject resource pooling into the buffer area of application program, later in application program
The interface subject of the corresponding default of interface subject resource is shown in interface.By the above-mentioned means, deleting working as application program
The interface subject that the interface subject of application program is reduced to default is realized when front interface theme.
Refering to Fig. 3, the present invention realizes in one embodiment of system of theme change that the system comprises control modules 301
With display module 302.Wherein, control module 301 is used for when starting application program, by the interface subject resource of application program
Storage path is redirected in customized system path, to obtain the interface of simultaneously loading application programs from customized system path
Subject resource, the customized system path is for saving customized and executed interface subject resource.Application program is opening
When dynamic, interface subject resource needed for needing to find its interface subject in systems.Redirection refers to application program
The storage path of interface subject resource needed for interface subject is directed in customized system path, to determine needed for application program
Interface subject resource path be customized system path, i.e., notice application program its institute is obtained in customized system path
The interface subject resource needed.To when application program launching i.e. required for obtaining it in customized system path
Interface subject resource, acquired interface subject resource pooling is then entered into the buffer area of application program to load interface master
Inscribe resource.Display module 302 is used for the corresponding interface subject of display interface subject resource in the interface of application program, that is, shows
Module 302 is shown in the corresponding interface subject of interface subject resource in the buffer area of application program.
By the above-mentioned means, it is corresponding personalized fixed only to make when user needs to modify the interface subject of application program
The interface subject resource of system is deposited in the customized system path, thus providing the interface subject in customized system path
After source is come into force, it can be realized in application program launching by above-mentioned redirection mode and provide the interface subject of personalized customization
Source is applied in the interface subject of application program, to realize the personalized customization of the interface subject of application program.Therefore, Yong Huxiu
When changing the interface subject of application program, when starting interface subject resource of the application program to use personalized customization, do not need to brush
The memory table for resource impact that new system is established by application program, but application program is obtained by way of redirection
Take the interface subject resource of personalized customization, so as to improve system operation stability, and compared to refresh memory table and
Speech also can be improved the operational efficiency of system, while can be realized the personalized customization of the interface subject of application program.
Refering to Fig. 4, in another embodiment that the present invention realizes the system of theme change, user can be according to oneself happiness
Customize various interface subject resources well, and by the way that the interface subject resource customized in it to be uploaded in system to realize and apply journey
The modification of the interface subject of sequence.In present embodiment, in present embodiment, the system is in addition to including control module 301 and showing
Show outside module 302, further includes that memory module 303, second obtains module 304, receiving module 305, copy module 306, first obtains
Modulus block 307, signal generator module 308 and resource come into force module 309.Memory module 303 includes application program for receiving
The corresponding resource file of interface subject resource theme packet, and theme packet is stored in different with customized system path
In predefined paths.Second acquisition module 304 is for decompressing theme packet to obtain subject description the file information.When user needs to repair
Change application program interface subject be its needed for personalized interface theme when, it is necessary first to upload answering for its personalized customization
With the interface subject resource of program, specially by the interface subject resource boil down to resource file of personalized customization, and by resource
Documenting is uploaded in predefined paths at the form of theme packet.Memory module 303 receives the theme packet that user is uploaded, and will
Theme packet is stored in predefined paths.Display module 302 obtains the letter of subject description file acquired in module 304 according to second
Whether breath, which shows topics, wraps the preview effect of corresponding interface subject, to determine for user by interface master corresponding to the theme packet
The current interface theme that topic becomes application program provides reference.Certainly, in other embodiments, it is also possible to by under network
Required theme packet is downloaded in predefined paths by the mode of load.
While display module 302 shows preview effect to user, issues the user with and ask whether the personalized customization
Theme packet apply for application program current interface theme, when user selection be when, receiving module 305 receive user request,
It receives interface subject corresponding to theme packet of the user by its personalized customization and applies the current interface theme for application program
Request command.It copies module 306 and requests to copy the corresponding resource file of the interface subject resource of application program according to user
To in customized system path.Certainly, in other embodiments, entire subject matter packet can also be all copied to customized system
In path, need first to decompress theme packet again to obtain corresponding resource file at this time.First acquisition module 307 is for solving
The resource file is pressed to obtain corresponding interface subject resource, signal generator module 308 is according to acquired interface subject resource
It generates interface subject resource and changes signal.When the first acquisition module 307 is decompressed from resource file to obtain customized in user
After interface subject resource, signal generator module 308 you can learn which part interface subject resource of application program is changed,
To generate interface subject resource change signal.Resource comes into force module 309 for changing signal refreshing according to interface subject resource
The corresponding buffering of the interface subject resource of application program is with the interface subject resource for the application program that comes into force, so that customized system
The personalized interface subject resource that the application program saved in system path will use is in workable state.
After the above-mentioned interface subject resource of completion comes into force, control module 301 passes through redirection when starting application program
Mode obtained in customized system path and loading application programs interface subject resource, display module 302 apply journey
The loaded corresponding interface subject of interface subject resource is shown in the interface of sequence, thus realize the interface subject of application program
Personalized customization.Also, by way of redirection, the updating system that do not need for not needing to refresh application program is application program
Thus the stability of system operation can be improved in the memory table for resource impact established.
The present invention also provides the mobile terminal for realizing theme change, the system including the respective embodiments described above.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field is included within the scope of the present invention.
Claims (10)
1. a kind of method for changing theme characterized by comprising
The theme packet of the corresponding resource file of interface subject resource comprising application program is received, and the theme packet is stored in
In predefined paths;
When starting application program, the storage path of the interface subject resource of the application program is redirected to customized system
It is described to make by oneself to be obtained from the customized system path and load the interface subject resource of the application program in path
Adopted system path and the predefined paths are not identical, and the customized system path is the customized system store path of user,
And for saving customized and executed interface subject resource;
The corresponding interface subject of the interface subject resource is shown in the interface of the application program.
2. the method according to claim 1, wherein
The step of before the starting application program, comprising:
Receive user's request;
At least the corresponding resource file of interface subject resource of the application program is copied to according to user request described
In customized system path;
The corresponding resource file of interface subject resource of the application program is decompressed to obtain the interface subject of the application program
Resource, and generate interface subject resource change signal;
Signal, which is changed, according to the interface subject resource refreshes the corresponding buffering of interface subject resource of the application program with life
Imitate the interface subject resource of the application program.
3. according to the method described in claim 2, it is characterized in that,
It is described to be at least copied to the corresponding resource file of interface subject resource of the application program according to user request
Step in the customized system path includes:
It requests to copy the theme packet of the corresponding resource file of interface subject resource comprising the application program according to the user
Shellfish is into the customized system path.
4. according to the method described in claim 3, it is characterized in that,
Before the step of reception user requests, comprising:
The theme packet is decompressed to obtain subject description the file information;
The preview effect of the corresponding interface subject of the theme packet is shown according to the subject description the file information.
5. according to the method described in claim 4, it is characterized in that,
After decompressing the step of theme packet is to obtain subject description the file information, comprising:
The subject description the file information is saved into database, and the theme packet is backed up, it is described pre- to realize
Look at the display of effect.
6. a kind of system for realizing theme change characterized by comprising
Memory module, for receive include application program the corresponding resource file of interface subject resource theme packet, and by institute
Theme packet is stated to be stored in predefined paths;
Control module, for when starting application program, the storage path of the interface subject resource of the application program to be reset
Into extremely customized system path, to obtain and load the interface subject of the application program from the customized system path
Resource, the customized system path and the predefined paths are not identical, and the customized system path is that user is customized
System store path, and for saving customized and executed interface subject resource;
Display module, for showing the corresponding interface subject of the interface subject resource in the interface of the application program.
7. system according to claim 6, which is characterized in that further include:
Receiving module, for receiving user's request;
Module is copied, for requesting at least according to the user by the corresponding resource text of the interface subject resource of the application program
Part is copied in the customized system path;
First obtains module, and described answer is obtained for decompressing the corresponding resource file of interface subject resource of the application program
With the interface subject resource of program;
Signal generator module, the interface subject resource for the application program according to acquired in the acquisition module generate interface master
It inscribes resource and changes signal;
Resource comes into force module, and refreshing the interface subject of the application program for changing signal according to the interface subject resource provides
The corresponding buffering in source is with the interface subject resource for the application program that comes into force.
8. system according to claim 7, which is characterized in that
The copy module is used to be requested according to the user by the corresponding money of interface subject resource comprising the application program
The theme packet of source file is copied in the customized system path.
9. system according to claim 8, which is characterized in that further include:
Second obtains module, for decompressing the theme packet to obtain subject description the file information;
Wherein, the display module is also used to show the corresponding interface of the theme packet according to the subject description the file information
The preview effect of theme.
10. a kind of mobile terminal for realizing theme change, which is characterized in that including the described in any item systems of claim 6-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410093161.XA CN104915188B (en) | 2014-03-13 | 2014-03-13 | A kind of method, system and mobile terminal changing theme |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410093161.XA CN104915188B (en) | 2014-03-13 | 2014-03-13 | A kind of method, system and mobile terminal changing theme |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104915188A CN104915188A (en) | 2015-09-16 |
CN104915188B true CN104915188B (en) | 2019-04-16 |
Family
ID=54084273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410093161.XA Active CN104915188B (en) | 2014-03-13 | 2014-03-13 | A kind of method, system and mobile terminal changing theme |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104915188B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106162308A (en) * | 2016-07-22 | 2016-11-23 | 四川长虹电器股份有限公司 | A kind of method redirecting intelligent television system display interface resource |
CN107357572A (en) * | 2017-06-23 | 2017-11-17 | 努比亚技术有限公司 | A kind of method, terminal and computer-readable recording medium for carrying out icon and showing |
CN107729103A (en) * | 2017-09-29 | 2018-02-23 | 努比亚技术有限公司 | A kind of method for switching theme, mobile terminal and computer-readable storage medium |
CN108804188A (en) * | 2018-05-30 | 2018-11-13 | 珠海市君天电子科技有限公司 | Changing an interface skin method and device |
CN109491739B (en) * | 2018-10-30 | 2023-04-07 | 北京字节跳动网络技术有限公司 | Theme color dynamic determination method and device, electronic equipment and storage medium |
CN111435313A (en) * | 2019-12-09 | 2020-07-21 | 杭州海康威视数字技术股份有限公司 | Method and device for changing skin of software |
CN111240717A (en) * | 2020-01-16 | 2020-06-05 | 南京英莫特信息科技有限公司 | Theme pack upgrading method |
CN113835803B (en) * | 2021-09-13 | 2024-04-02 | 北京字节跳动网络技术有限公司 | Application theme display method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216765A (en) * | 2008-01-21 | 2008-07-09 | 中兴通讯股份有限公司 | Mobile terminal topic style dynamic altering method |
CN102568010A (en) * | 2010-12-14 | 2012-07-11 | 上海三旗通信科技股份有限公司 | Method for extracting color and changing theme coloring by utilizing traditional camera |
CN102779012A (en) * | 2012-07-11 | 2012-11-14 | 广州市久邦数码科技有限公司 | Screen locking system for touch screen device and realizing method thereof |
CN102789357A (en) * | 2012-06-18 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for setting subject resources based on Andriod application technology |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106578B (en) * | 2007-08-31 | 2010-06-09 | 深圳市金蝶中间件有限公司 | A method and system for changing interface subject |
-
2014
- 2014-03-13 CN CN201410093161.XA patent/CN104915188B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216765A (en) * | 2008-01-21 | 2008-07-09 | 中兴通讯股份有限公司 | Mobile terminal topic style dynamic altering method |
CN102568010A (en) * | 2010-12-14 | 2012-07-11 | 上海三旗通信科技股份有限公司 | Method for extracting color and changing theme coloring by utilizing traditional camera |
CN102789357A (en) * | 2012-06-18 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for setting subject resources based on Andriod application technology |
CN102779012A (en) * | 2012-07-11 | 2012-11-14 | 广州市久邦数码科技有限公司 | Screen locking system for touch screen device and realizing method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104915188A (en) | 2015-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104915188B (en) | A kind of method, system and mobile terminal changing theme | |
CN105867947B (en) | Data processing method and device after preset application program updating | |
CN106687945B (en) | Long-range script management | |
CN104461504B (en) | A kind of management method of end application | |
US9460108B2 (en) | Filename-based inference of repository actions | |
CN110019081A (en) | Data persistence processing method, device, system and readable storage medium storing program for executing | |
KR20080091424A (en) | Method of managing fonts in multimedia scenes and corresponding computer program and terminal | |
US8001213B2 (en) | Method, apparatus and computer program product for providing unrestricted content on a user terminal | |
CN106878428A (en) | Method and device that a kind of file is uploaded | |
CN106815370A (en) | Update the methods, devices and systems of resource file | |
CN103412748B (en) | Display control method, the apparatus and system of the user interface of embedded platform | |
CN104461505B (en) | A kind of terminal | |
US20130046935A1 (en) | Shared copy cache across networked devices | |
CN108415698A (en) | The method that control is added in the technical ability of voice dialogue platform | |
CN108089865A (en) | Using method of cutting out, device and storage medium | |
CN103634343A (en) | Wallpaper arranging method and terminal | |
CN112181580B (en) | Application theme switching method, device and system | |
CN107391665A (en) | The creation method and device of a kind of database instance | |
CN104850639A (en) | Method for switching webpage subjects without refreshing page | |
CN111309424A (en) | Page restoration method and related equipment | |
CN106502680B (en) | A method of pel extension is carried out by visualization interface | |
CN106330561A (en) | Dynamic UI setting method and apparatus | |
US9928751B2 (en) | Generic media covers | |
US20140002470A1 (en) | Generic Media Covers | |
US8423585B2 (en) | Variants of files in a file system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |