CN104572280B - A kind of Android applications method for switching theme - Google Patents
A kind of Android applications method for switching theme Download PDFInfo
- Publication number
- CN104572280B CN104572280B CN201410832735.0A CN201410832735A CN104572280B CN 104572280 B CN104572280 B CN 104572280B CN 201410832735 A CN201410832735 A CN 201410832735A CN 104572280 B CN104572280 B CN 104572280B
- Authority
- CN
- China
- Prior art keywords
- formal
- android
- theme
- android applications
- installation file
- 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
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of Android applications method for switching theme, comprise the following steps:The formal Android applications of exploitation at least two in advance, above-mentioned formal Android application is all packaged into using same signature mode can installation file, the bag name of each formal Android application must be consistent, the mathematical logic of each formal Android application also must be consistent, the topology file of each formal Android application is different with interface, the application theme of each formal Android application is different, formal Android applications one independent application theme of correspondence;The installation file of above-mentioned formal Android applications is published to theme switching server, the installation file of the formal Android applications of target is formed.Judge whether that meeting switching requires;Step judges whether the installation file for needing to download the formal Android applications of target;Download the installation file of the formal Android applications of target;Carry out the installation file of the formal Android applications of effect target;The installation file of the formal Android applications of installation targets;Theme is switched successfully.
Description
Technical field
The present invention relates to a kind of Android applications method for switching theme, it can especially change application layout ways of presentation
Switching method.
Background technology
At present, with the high speed development of mobile Internet, increasing intelligent mobile phone system appears in the visual field of masses
In, smart mobile phone has no longer been single communication tool, and is all provided in terms of clothing, food, shelter, row, work, amusement for people
Convenience, it might even be possible to say the too busy to get away various intelligent terminals of the life of people now.In numerous intelligent terminal systems
In, the android system that Google is released is favored as open source system by numerous manufacturers, commercially occupies huge advantage, hand
More tool terminals such as machine, set top box use android system, the use of the user of Android system terminal instrument are also to get over
Come more, while Android has attracted substantial amounts of developer as free open source system huge advantage, developer can be more
Abundant, efficient, practical Android applications are have developed conveniently and at low cost, more selections have been provided the user.
Not only content will be enriched for a good Android applications, and function is practical, and Consumer's Experience is even more particularly important.In people
Today that aesthetic conceptions constantly rise, abundant in content, practical function has been that, using the primary demand must being fulfilled for, application function is
Unified, it is impossible to changed according to each user preferences, but each user possesses different aesthetic standards and different operations
Custom, user has the right to select oneself to feel good-looking, easy to operate application, so a good application will provide a variety of use
Family experience mode is very important.As android system in itself, android system also provides a variety of acquiescences in itself
Theme for developer select, but these simply for developer set the simple topic styles of single component, this also much without
Method meets the demand of user, it would be desirable to possesses the technology of a set of theme handoff functionality and comes to switch the exhibition method entirely applied
Meet the aesthetic conceptions of user.Many Android, which are applied, at present also provides theme handoff functionality, but this work(of these applications
It can simply change the various backgrounds and tone of application, and the layout of content and pattern be again without change, such design is just
As wearing the clothes of same pattern daily, simply color change, and apparel configurations or such, this and wear same dress and have no
Change, such user using rather dry as dust, loses fraicheur while also just losing interest for a long time!In this context
People and its urgent hope possess a set of technology can not only choose at random oneself hobby background color tone according to the hobby of user,
And the layout pattern of hobby is also an option that, the application of the working specification of hobby is selected, fundamentally template is replaced and meets
The aesthetic conceptions of user, the same application that multiple users use shows same data and possesses same function, but they
The interface of displaying, layout type, operating process can be all different, and they are selected according to the hobby of user oneself.
The content of the invention
It is an object of the invention to provide a kind of Android applications method for switching theme, existing Android applications master is overcome
Inscribe the deficiency of switching so that the theme of switching can not only change the background and tone of application, and can also change the layout of application
Structure.
The purpose of the present invention is achieved through the following technical solutions:
A kind of Android applications method for switching theme, it is characterised in that:Comprise the following steps:
The formal Android applications of step 1, in advance exploitation at least two, by above-mentioned formal Android applications all using identical
Signature scheme be packaged into can installation file, the bag name of each formal Android application must be consistent, and each formal Android should
Mathematical logic also must be consistent, and the topology file of each formal Android application is different with interface, and each is formal
The application theme of Android applications is different, formal Android applications one independent application theme of correspondence;So set
Afterwards, the layout of the application theme of different formal Android applications is different, and the data content seen after user installation is consistent
, simply ways of presentation is different.
Step 2, after step 1, the installation file of above-mentioned formal Android application is published to theme switching server,
Form the installation file of the formal Android applications of target;Theme switching server, which is provided, can download the interface of file, for client
Download the formal Android of target using when call.
Step 3, after step 2, client receive switching theme instruction, judge whether meet switching require;
Step 4, after step 3, meets on the premise of switching requires, judges whether to need to download the formal Android of target
The installation file of application;If meeting the condition that needs are downloaded, step 5 is transferred to, if need not download, step 6 is transferred to;
Step 5:After step 4, on the premise of meeting needs download, the installation text of the formal Android applications of target is downloaded
Part, is transferred to step 6;
Step 6:After step 4 or step 5, the installation file of the formal Android applications of effect target is carried out;
Step 7:After step 6, switching method, the installation file of the formal Android applications of installation targets are called;
Step 8:After step 7, if operated successfully, flow terminates, and theme is switched successfully;
Step 9:After step 7, if operation failure, flow terminates, user is returned result to.
Theme switching server described in step 2 must support file download.
Step 3 is concretely comprised the following steps:Client is received after switching theme instruction, if the formal Android applications of target
The exactly currently used formal Android application of application theme application theme, then flow terminate, result is fed back into user;
If the application theme of the formal Android applications of target is not the application theme of currently used formal Android applications, meet
Switching is required, continues executing with step 4.
Step 4 is concretely comprised the following steps:If the installation file of the formal Android applications of the local target of client,
It need not then go download to jump directly to step 6 and carry out effect installation file, if the local not target of client is formal
The installation file of Android applications, then need to download the installation file of the formal Android applications of target.
Step 5 is concretely comprised the following steps:The installation file of the formal Android applications of target is downloaded from theme switching server,
If downloading installation file failure, flow terminates, and returns result to user, if downloaded successfully, performs step 6 and carries out effect
Installation file.
The detailed process of step 6 is whether effect installation file is correct, if file error, flow terminates returning result
To user, if installation file is correct, step 7 is performed.
Step 7 is concretely comprised the following steps:The method for calling Android to install software, the formal Android applications of installation targets
Installation file replaces currently used formal Android applications.Because the installation file of the formal Android applications of target is with currently making
With the bag name of the formal Android installation files applied is identical, signature is consistent, so being to belong to same application, this is installed not
The data of former application theme can be removed, and the mode for being analogous to software upgrading installs new theme, therefore remain original application number
According to the data content that user sees does not have change, and interface layout pattern changes, so as to reach the effect of switching theme.
Step 8 is concretely comprised the following steps:If installed successfully, flow terminates, when user is again turned on this and applied, it is seen that
It is exactly the interface of new theme.
Step 9 is concretely comprised the following steps:If install failure, flow terminates, user is returned result to, what user saw should
With the interface at interface, or former theme.
The advantage of the invention is that:Switch between different installation files by same signature and identical bag name, reach switching
The effect of theme, the theme of change application that can be truly, reaches the effect of switching application layout pattern.
Brief description of the drawings
Fig. 1 is network architecture schematic diagram of the invention.
Embodiment
With reference to embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited
In this.
Embodiment 1:
As shown in Figure 1.
A kind of Android applications method for switching theme, is provided with currently used formal Android applications in client, is
Cause the application theme variation of currently used formal Android applications, in order to user show with it is currently used formal
Android is laid out using different application theme, and the present invention comprises the following steps:
The formal Android applications of step 1, in advance exploitation at least two, by above-mentioned formal Android applications all using identical
Signature scheme be packaged into can installation file, the bag name of each formal Android application must be consistent, and each formal Android should
Mathematical logic also must be consistent, and the topology file of each formal Android application is different with interface, and each is formal
The application theme of Android applications is different, formal Android applications one independent application theme of correspondence;So set
Afterwards, the layout of the application theme of different formal Android applications is different, and the data content seen after user installation is consistent
, simply ways of presentation is different.
The layout of the topology file of the formal Android applications and interface also with currently used formal Android applications
File is different with interface.Therefore the above-mentioned formal Android applications referred to as formal Android applications of target.
Step 2, after step 1, the installation file of above-mentioned formal Android application is published to theme switching server,
Form the installation file of the formal Android applications of target;Theme switching server, which is provided, can download the interface of file, for client
Download the formal Android of target using when call.
Step 3, after step 2, client receive switching theme instruction, judge whether meet switching require;
Step 4, after step 3, meets on the premise of switching requires, judges whether to need to download the formal Android of target
The installation file of application;
Step 5:After step 4, on the premise of meeting needs download, the installation text of the formal Android applications of target is downloaded
Part;
Step 6:After step 4 or step 5, the installation file of the formal Android applications of effect target is carried out;
Step 7:After step 6, switching method, the installation file of the formal Android applications of installation targets are called;
Step 8:After step 7, if operated successfully, flow terminates, and theme is switched successfully;
Step 9:After step 7, if operation failure, flow terminates, user is returned result to.
The present invention mentality of designing be:By pre-setting with currently used formal Android applications identical target just
Formula Android is applied, and substituting currently used formal Android by the installation file of the formal Android applications of this target should
With because the formal Android of the target of setting applies different from the application theme of currently used formal Android application, reaching
Replace the purpose for updating theme.For example, there is the APP1 of a prepackage on the client, we set APP2 and APP3 etc. multiple again
Other APP, the bag name that this writes formal Android applications is identical all with APP1 bag name, while their signature scheme is also identical,
Their mathematical logic is also identical simultaneously, and only topology file is different with interface, therefore, corresponding one of each APP and
The different application theme of APP1 application themes, these are exactly intended application theme using theme.It is now that this target is formal
The installation file of Android applications is uploaded on theme switching server, and supply client selection, which is downloaded, is installed, and final replace is worked as
Preceding theme, completes the switching of theme.
Theme switching server described in step 2 must support file download.
Step 3 is concretely comprised the following steps:Client is received after switching theme instruction, if the formal Android applications of target
The exactly currently used formal Android application of application theme application theme, then flow terminate, result is fed back into user;
If the application theme of the formal Android applications of target is not the application theme of currently used formal Android applications, meet
Switching is required, continues executing with step 4.
Step 4 is concretely comprised the following steps:If the installation file of the formal Android applications of the local target of client,
It need not then go download to jump directly to step 6 and carry out effect installation file, if the local not target of client is formal
The installation file of Android applications, then need to download the installation file of the formal Android applications of target.
Step 5 is concretely comprised the following steps:The installation file of the formal Android applications of target is downloaded from theme switching server,
If downloading installation file failure, flow terminates, and returns result to user, if downloaded successfully, performs step 6 and carries out effect
Installation file.
The detailed process of step 6 is whether effect installation file is correct, if file error, flow terminates returning result
To user, if installation file is correct, step 7 is performed.
Step 7 is concretely comprised the following steps:The method for calling Android to install software, the formal Android applications of installation targets
Installation file replaces currently used formal Android applications.Because the installation file of the formal Android applications of target is with currently making
With the bag name of the formal Android installation files applied is identical, signature is consistent, so being to belong to same application, this is installed not
The data of former application theme can be removed, and the mode for being analogous to software upgrading installs new theme, therefore remain original application number
According to the data content that user sees does not have change, and interface layout pattern changes, so as to reach the effect of switching theme.
Step 8 is concretely comprised the following steps:If installed successfully, flow terminates, when user is again turned on this and applied, it is seen that
It is exactly the interface of new theme.
Step 9 is concretely comprised the following steps:If install failure, flow terminates, user is returned result to, what user saw should
With the interface at interface, or former theme.
As described above, can then realize the present invention well.
Claims (7)
1. a kind of Android applications method for switching theme, it is characterised in that:Comprise the following steps:
The formal Android applications of step 1, in advance exploitation at least two, same signature is all used by above-mentioned formal Android applications
Mode be packaged into can installation file, the bag name of each formal Android application must be consistent, each formal Android application
Mathematical logic also must be consistent, and the topology file of each formal Android application is different with interface, and each formal Android should
Application theme is different, formal Android applications one independent application theme of correspondence;
Step 2, after step 1, the installation file of above-mentioned formal Android application is published to theme switching server, formed
The installation file of the formal Android applications of target;
Step 3, after step 2, client receive switching theme instruction, judge whether meet switching require;
Step 4, after step 3, meets on the premise of switching requires, judges whether to need to download the formal Android applications of target
Installation file;If meeting the condition that needs are downloaded, step 5 is transferred to, if need not download, step 6 is transferred to;
Step 5:After step 4, on the premise of meeting needs download, the installation file of the formal Android applications of target is downloaded, is turned
Enter step 6;
Step 6:After step 4 or step 5, the installation file of the formal Android applications of effect target is carried out;
Step 7:After step 6, switching method, the installation file of the formal Android applications of installation targets are called;
Step 8:After step 7, if operated successfully, flow terminates, and theme is switched successfully;
Step 9:After step 7, if operation failure, flow terminates, user is returned result to.
2. a kind of Android applications method for switching theme according to claim 1, it is characterised in that:It is main described in step 2
Topic switching server must support file download.
3. a kind of Android applications method for switching theme according to claim 1, it is characterised in that:The specific step of step 3
Suddenly it is:Client is received after switching theme instruction, if the application theme of the formal Android applications of target is exactly currently used
The application theme of formal Android applications, then flow terminate, result is fed back into user;If the formal Android applications of target
Application theme be not currently used formal Android application application theme, then meet switching and require, continue executing with step 4.
4. a kind of Android applications method for switching theme according to claim 1, it is characterised in that:The specific step of step 4
Suddenly it is:If the installation file of the formal Android applications of the local target of client, need not go download directly to redirect
Effect installation file is carried out to step 6, if the installation file of the formal Android applications of the local not target of client,
Need to download the installation file that the formal Android of target is applied.
5. a kind of Android applications method for switching theme according to claim 1, it is characterised in that:The specific step of step 5
Suddenly it is:The installation file of the formal Android applications of target is downloaded from theme switching server, if downloading installation file failure,
Then flow terminates, and returns result to user, if downloaded successfully, performs step 6 and carries out effect installation file.
6. a kind of Android applications method for switching theme according to claim 1, it is characterised in that:The specific mistake of step 6
Journey is whether effect installation file is correct, if file error, flow terminates to return result to user, if installation file is just
Really, then step 7 is performed.
7. a kind of Android applications method for switching theme according to claim 1, it is characterised in that:The specific step of step 7
Suddenly it is:The method for calling Android to install software, the installation file of the formal Android applications of installation targets replaces currently used
Formal Android applications.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410832735.0A CN104572280B (en) | 2014-12-29 | 2014-12-29 | A kind of Android applications method for switching theme |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410832735.0A CN104572280B (en) | 2014-12-29 | 2014-12-29 | A kind of Android applications method for switching theme |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104572280A CN104572280A (en) | 2015-04-29 |
CN104572280B true CN104572280B (en) | 2017-08-29 |
Family
ID=53088427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410832735.0A Active CN104572280B (en) | 2014-12-29 | 2014-12-29 | A kind of Android applications method for switching theme |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104572280B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105373406B (en) * | 2015-12-03 | 2019-11-12 | Tcl集团股份有限公司 | Application layout dynamic switching method and system based on Android platform |
CN105549993B (en) * | 2015-12-09 | 2019-07-09 | Tcl集团股份有限公司 | A kind of Android system resource switch method and system |
CN106802794B (en) * | 2016-12-20 | 2020-06-16 | 智车优行科技(北京)有限公司 | Theme switching method, device, vehicle and system |
CN108427586B (en) * | 2017-08-04 | 2019-03-15 | 平安科技(深圳)有限公司 | Using push terminal, method and the computer readable storage medium of theme |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101516056A (en) * | 2008-12-24 | 2009-08-26 | 上海闻泰电子科技有限公司 | Method for changing mobile phone theme resources |
CN101741984A (en) * | 2009-12-21 | 2010-06-16 | 深圳华为通信技术有限公司 | Theme switching method and device and mobile terminal and background software device |
CN102789357A (en) * | 2012-06-18 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for setting subject resources based on Andriod application technology |
CN102957809A (en) * | 2012-11-26 | 2013-03-06 | 广东欧珀移动通信有限公司 | Method for optimizing application programs on intelligent mobile phone |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7062567B2 (en) * | 2000-11-06 | 2006-06-13 | Endeavors Technology, Inc. | Intelligent network streaming and execution system for conventionally coded applications |
US9022279B2 (en) * | 2010-06-15 | 2015-05-05 | Apple Inc. | Method and system for locating an accessory and an application for use with a user device |
-
2014
- 2014-12-29 CN CN201410832735.0A patent/CN104572280B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101516056A (en) * | 2008-12-24 | 2009-08-26 | 上海闻泰电子科技有限公司 | Method for changing mobile phone theme resources |
CN101741984A (en) * | 2009-12-21 | 2010-06-16 | 深圳华为通信技术有限公司 | Theme switching method and device and mobile terminal and background software device |
CN102789357A (en) * | 2012-06-18 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for setting subject resources based on Andriod application technology |
CN102957809A (en) * | 2012-11-26 | 2013-03-06 | 广东欧珀移动通信有限公司 | Method for optimizing application programs on intelligent mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN104572280A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102207872B (en) | Method and system for customizing Web UI (User Interface) control according to user requirements | |
US9158534B2 (en) | Smart endpoint architecture | |
CN104572280B (en) | A kind of Android applications method for switching theme | |
CN102520968B (en) | Design and demonstration device for process capable of being customized and method | |
CN101216765B (en) | Mobile terminal topic style dynamic altering method | |
US20140282398A1 (en) | Platform for developing and distributing mobile applications | |
CN202177892U (en) | Web UI control customization system | |
CN106557314A (en) | Applied software development method and device | |
CN107122175B (en) | Interface creating method and device | |
CN103543993A (en) | Application program building method and system | |
CN103412768A (en) | Zookeeper cluster automatic-deployment method based on script program | |
CN105242931A (en) | Method and system for editing and generating codes for game interface | |
CN112612214B (en) | Method and system for generating functional interface and electronic equipment | |
CN107895394A (en) | Animation effect implementation method, device, terminal device and storage medium | |
CN105955888A (en) | Page debugging and previewing method and system | |
CN104503741A (en) | Integrated system for developing and publishing APP | |
CN104391703B (en) | It is rapidly completed the apparatus and method of page layout | |
CN109213564A (en) | Intelligent housing interface method of adjustment, device, intelligent terminal and medium | |
CN104503747A (en) | Database storage structure of APP (Application) production platform | |
CN109643240B (en) | Industrial controller and method for automatically generating user interface | |
CN108416149A (en) | The real-time formative method of 3 d part unrelated CAD, terminal and storage medium | |
CN109783144B (en) | Method and device for processing variable in interactive realization of virtual environment and storage medium | |
CN105159673A (en) | Method and device for setting control style | |
CN107786367B (en) | Virtual network element configuration method and device | |
CN104951214A (en) | Information processing method and electronic equipment |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: No. 27-30, 10th Floor, Building 1, No. 1268, Middle Tianfu Avenue, Chengdu Hi tech Zone, China (Sichuan) Pilot Free Trade Zone, 610000, Sichuan Patentee after: CHENGDU ANDROIDMOV TECHNOLOGY Co.,Ltd. Address before: No. 27-30, 10th floor, building 1, No. 1268, middle section of Tianfu Avenue, high tech Zone, Chengdu, Sichuan 610000 Patentee before: ANDROIDMOV TECHNOLOGY Co.,Ltd. |