CN106445514A - Android platform Activity instance management method and equipment - Google Patents
Android platform Activity instance management method and equipment Download PDFInfo
- Publication number
- CN106445514A CN106445514A CN201610819061.XA CN201610819061A CN106445514A CN 106445514 A CN106445514 A CN 106445514A CN 201610819061 A CN201610819061 A CN 201610819061A CN 106445514 A CN106445514 A CN 106445514A
- Authority
- CN
- China
- Prior art keywords
- activity
- sub
- class
- management
- module
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention belongs to the technical field of intelligence, and provides Android platform Activity instance management method and equipment, to keep one application from more than one time opening the same interface. The method comprises the steps of building Activity instance; judging whether to allow a same name Activity instance to exist in an Activity management module; if the same name Activity instance is not allowed to exist in the Activity management module, calling an Activity instance first management interface inside an Activity instance management interface, to eliminate the same name Activity instance. The provided technical scheme ensures one application opens only the interface corresponding to the same one Activity instance, removes from user the experience that one same interface is opened by more than one means yet at respective exit time appears more times, and lifts user experience in application applying process.
Description
Technical field
The invention belongs to technical field of intelligence, more particularly to a kind of side of the Activity example of management Android platform
Method and device.
Background technology
Activity be in android system most basic be also most commonly seen four big components (Activity, service,
One of content is provided and radio receiver), specifically, in android system, Activity is one to be responsible for and user mutual
Component, provide a user with human-computer interaction interface, be widely used in each application in;In OO programming language, one
The human-computer interaction interface that individual Activity is provided corresponds to an Activity example.
Activity has a lot of attributes in itself, by being configured to these attributes, can meet the various need of user
Ask.For example, the launch Mode attribute of Activity, it is possible to arrange Activity example in an application process be as
What is present, however, singleTask therein and singleInstance are that (main Activity is i.e. just for main Activity
The first interface of application) arrange, presence management of other Activity examples in application process needs user voluntarily to manage.
When various ways (for example, broadcast start, shortcut start, third-party application call, etc.) same application can be opened
During interface, a relevant interface is often called, an Activity example will be created, is added in application process, application process
In will there are multiple identical Activity examples.When pressing back key and exiting successively, can repeatedly there is identical interface.This
Outward, needing other Activity examples are opened in an Activity example, under some special screnes, can cause user
Experience problem.For example, an Activity example is have invoked under ATV/DTV information source, then from this Activity example
Start another application process homepage when, can because information source frequent switching cause interface flash.
Problem above, current industry there is no the scheme of solution.
Content of the invention
It is an object of the invention to provide a kind of method and apparatus of the Activity example of management Android platform, with
An application is avoided repeatedly to open same interface.
First aspect present invention provides a kind of method of the Activity example of management Android platform, methods described bag
Include:
Activity example is created, the Activity example is the example of the sub- Activity class of father's Activity class;
Determine whether that title identical Activity example is present in Activity management module, described
Activity management module provides multiple Activity instance management interfaces;
If not allowing title identical Activity example to be present in Activity management module, call described
The first management interface of Activity example in Activity instance management interface, to destroy title identical Activity
Example.
Second aspect present invention provides a kind of device of the Activity example of management Android platform, described device bag
Include:
Creation module, for creating Activity example, the Activity example is the son of father's Activity class
The example of Activity class;
Judge module, for determining whether that title identical Activity example is present in Activity management module
In, the Activity management module provides multiple Activity instance management interfaces;
Module is destroyed, if for not allowing title identical Activity example to be present in Activity management module,
Activity example first management interface in the Activity instance management interface is then called, identical to destroy the title
Activity example.
Knowable to the invention described above technical scheme, due to judging not allowing title identical Activity example to be present in
During Activity management module, the first management interface of Activity example in Activity instance management interface is called to destroy
Title identical Activity example, therefore, this mode is ensure that in an application only can open same Activity reality
The corresponding interface of example, eliminates user and opens same interface in several ways and repeatedly occur identical when exiting successively
Interface, enhances the experience during user's application use.
Description of the drawings
Fig. 1 is the realization stream of the method for the Activity example of the management Android platform that the embodiment of the present invention one is provided
Journey schematic diagram;
Fig. 2 is that the structure of the device of the Activity example of the management Android platform that the embodiment of the present invention two is provided is shown
It is intended to;
Fig. 3 is that the structure of the device of the Activity example of the management Android platform that the embodiment of the present invention three is provided is shown
It is intended to;
Fig. 4 is that the structure of the device of the Activity example of the management Android platform that the embodiment of the present invention four is provided is shown
It is intended to;
Fig. 5-a is the structure of the device of the Activity example of the management Android platform that the embodiment of the present invention five is provided
Schematic diagram;
Fig. 5-b is the structure of the device of the Activity example of the management Android platform that the embodiment of the present invention six is provided
Schematic diagram;
Fig. 5-c is the structure of the device of the Activity example of the management Android platform that the embodiment of the present invention seven is provided
Schematic diagram;
Fig. 6-a is the structure of the device of the Activity example of the management Android platform that the embodiment of the present invention eight is provided
Schematic diagram;
Fig. 6-b is the structure of the device of the Activity example of the management Android platform that the embodiment of the present invention nine is provided
Schematic diagram;
Fig. 6-c is the structure of the device of the Activity example of the management Android platform that the embodiment of the present invention ten is provided
Schematic diagram.
Specific embodiment
In order that the purpose of the present invention, technical scheme and beneficial effect become more apparent, below in conjunction with accompanying drawing and enforcement
Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only in order to explain this
Bright, it is not intended to limit the present invention.
The embodiment of the present invention provides a kind of method of the Activity example of management Android platform, and methods described includes:
Activity example is created, the Activity example is the example of the sub- Activity class of father's Activity class;Judge whether
Title identical Activity example is allowed to be present in Activity management module, the Activity management module provides many
Individual Activity instance management interface;If not allowing title identical Activity example to be present in Activity management module
In, then the first management interface of Activity example in the Activity instance management interface is called, to destroy the title
Identical Activity example.The embodiment of the present invention also provides the dress of the Activity example of corresponding management Android platform
Put.It is described in detail individually below.
Accompanying drawing 1 is referred to, is the method for the Activity example of the management Android platform that the embodiment of the present invention one is provided
Realize schematic flow sheet, mainly include the following steps that S101 to step S103, describe in detail as follows:
S101, creates Activity example, and the Activity example is the reality of the sub- Activity class of father's Activity class
Example.
First, two modules according to the present invention and its interface are introduced.Two modules according to the present invention include
Activity management module and the corresponding father Activity class management module of father's Activity class, wherein, Activity manages mould
Block be used for manage activity example interpolation, remove, inquire about and all Activity examples destruction work, father Activity
Class management module is used for being managed collectively the startup of sub- Activity class example, adds, removes and destroy work.Activity is managed
Module provides multiple Activity instance management interfaces, mainly includes the first management interface of Activity example, Activity reality
The second management interface of example, the 3rd management interface of Activity example and other management interfaces of Activity example, father
Activity class management module provides many sub- Activity class management interfaces, mainly includes that the management of sub- Activity class first connects
Mouth, sub- the second management interface of Activity class, sub- the 3rd management interface of Activity class and the management of sub- Activity class the 4th connect
Mouthful, below each interface is made introductions all round.
The first management interface of Activity example is query interface, whether there is in Activity management module for inquiring about
The sub- Activity class example of certain title;The second management interface of Activity example is to remove interface, for by certain height
The corresponding Activity unit of Activity class example is removed from Activity management module;Activity example the 3rd is managed
Interface, for terminating in Activity management module all sub- Activity class examples and destroying number in Activity management module
According to.Other management interfaces of Activity example that Activity management module is provided include:Create Activity management module reality
The interface of example and interpolation interface, wherein, the interface for creating Activity management module example is used for as each process creation
Activity management module example, the example is unique in a process, adds interface, for adding a son
The corresponding Activity unit of Activity class example is to Activity management module, in embodiments of the present invention, son
The corresponding Activity unit of Activity class example includes the Activity class example and its exclusive identification code.
Sub- the first management interface of Activity class be by being configured to its parameter, if allow title identical
Activity example is present in the interface in Activity management module, if being arranged to parameter, does not allow title phase
Same Activity example is present in Activity management module, if not being configured to parameter, only allows title only
One Activity example is present in Activity management module;Sub- the second management interface of Activity class is not allow
Exist in Activity management module same names sub- Activity class example when, need to by arrange whether destroy entitled
The top activity i.e. interface of current sub- Activity class example, wherein, parameter is set to destroy current son during true
Activity class example is top activity example, destroy when parameter is set to false in Activity management module with top
The sub- Activity class example of activity title identical, is not considered to destroy top activity example to parameter setting;
Sub- the 3rd management interface of Activity class is the interface for arranging the end position for terminating sub- Activity class example, wherein, arranges
End position include to terminate in the onPause life cycle function of father's Activity apoplexy due to endogenous wind Activity class example or
Terminate sub- Activity class example in the onStop life cycle function of father's Activity apoplexy due to endogenous wind, when being not provided with end position,
Acquiescence walks primary Andriod Life Cycle Process;Sub- the 4th management interface of Activity class is the Activity for making carbon copies Andriod
Terminate function finish, after being arranged on onstop life cycle, call primary Android finish interface.
In embodiments of the present invention, Activity management module is to manage sub- Activity class with this data structure of stack
Example.When creating the example of sub- Activity class of father's Activity class (for convenience, in follow-up explanation, by father
The example of the sub- Activity class of Activity class is referred to as sub- Activity class example) after, call previous embodiment description
Interpolation interface in Activity instance management interface, corresponding for sub- Activity class example Activity unit is son
Activity class example and its exclusive identification code press-in (push) stack, after stacking, are present equivalent to Activity management module
There is the sub- Activity class example.
S102, determines whether that title identical Activity example is present in Activity management module,
Activity management module provides multiple Activity instance management interfaces.
As it was previously stated, in embodiments of the present invention, Activity management module provides multiple Activity instance management
Interface, including sub- the first management interface of Activity class and sub- the second management interface of Activity class.As the present invention one
Individual embodiment, determining whether that title identical Activity example is present in Activity management module can be:If
Have invoked sub- the first management interface of Activity class in sub- Activity class management interface and not to parameter setting therein,
Or, have invoked sub- the second management interface of Activity class in sub- Activity class management interface and parameter therein is carried out
Arrange, it is determined that do not allow title identical Activity example to be present in Activity management module, for example, will
The parameter of the second management interface of Activity class is set to destroy top activity example during true, by Activity class second
The parameter of management interface is set to sub with top activity title identical in destruction Activity management module during false
Activity class example.
S103, if not allowing title identical Activity example to be present in Activity management module, calls institute
The first management interface of Activity example in Activity instance management interface is stated, to destroy title identical Activity reality
Example.
As one embodiment of the invention, the Activity example first in Activity instance management interface is called to manage
Interface, S1031 and S1032 can be realized as follows with destroying title identical Activity example:
S1031, calls the first management interface of Activity example in Activity instance management interface, with inquiry
Whether there is and the currently sub- Activity class example of sub- Activity class instance name identical in Activity management module.
As it was previously stated, the first management interface of Activity example in Activity instance management interface is used for inquiring about
In Activity management module with the presence or absence of certain title sub- Activity class example, therefore, by calling Activity reality
The first management interface of Activity example in example management interface, can inquire about in Activity management module and whether there is and work as
The sub- Activity class example of front sub- Activity class instance name identical.
S1032, if exist in Activity management module and currently sub- Activity class instance name identical
Activity class example, then will currently sub- Activity class example or with currently sub- Activity class instance name identical
Activity class example is destroyed.
To then currently sub- Activity class example destroying or will be identical with currently sub- Activity class instance name
Sub- Activity class example destroy, depending on the setting of the parameter to the second management interface of Activity class.If Activity
The parameter of the second management interface of class is set to true, then destroy top activity example i.e. current sub- Activity class example,
If the parameter of the second management interface of Activity class is set to false, with top in destruction Activity management module
The sub- Activity class example of activity title identical.
The method of the Activity example of management Android platform provided in an embodiment of the present invention also includes:If desired tie
Certain sub- Activity class example is restrainted, then calls sub- the 3rd management of Activity class in sub- Activity class management interface to connect
Mouthful, it is arranged in the onPause life cycle function of father's Activity apoplexy due to endogenous wind or onStop life cycle function and terminates the son
Activity class example, or, call sub- the 4th management interface of Activity class in sub- Activity class management interface;Call
Sub- the 4th management interface of Activity class in sub- Activity class management interface can be automatically located in father's Activity apoplexy due to endogenous wind
Terminate certain sub- Activity class example in onStop life cycle function.
The method of the Activity example of management Android platform provided in an embodiment of the present invention also includes:Call
The second management interface of Activity example in Activity instance management interface, will be corresponding for certain sub- Activity class example
Activity unit is removed from Activity management module;Or, call in Activity instance management interface
The 3rd management interface of Activity example, terminates all sub- Activity class examples to destroy in Activity management module
Data in Activity management module.
Knowable to the method for the Activity example of the management Android platform of 1 example of above-mentioned accompanying drawing, due to judging not
When allowing title identical Activity example to be present in Activity management module, call in Activity instance management interface
The first management interface of Activity example to destroy title identical Activity example, therefore, this mode ensure that one
Only the corresponding interface of same Activity example can be opened in individual application, eliminate user open in several ways same
Interface and repeatedly there is identical interface when exiting successively, enhance user application use during experience.
Accompanying drawing 2 is referred to, is the device of the Activity example of the management Android platform that the embodiment of the present invention two is provided
Structural representation.For convenience of description, accompanying drawing 2 illustrate only the part related to the embodiment of the present invention.The pipe of 2 example of accompanying drawing
The device of the Activity example of reason Android platform can be the Activity reality of the management Android platform of 1 example of accompanying drawing
The executive agent of the method for example.The device of the Activity example of the management Android platform of 2 example of accompanying drawing mainly includes to create
Module 201, judge module 202 and destruction module 203, wherein:
Creation module 201, for creating Activity example, wherein, Activity example is the son of father's Activity class
The example of Activity class;
Judge module 202, manages for determining whether that title identical Activity example is present in Activity
In module, wherein, Activity management module provides multiple Activity instance management interfaces;
Module 203 is destroyed, if for not allowing title identical Activity example to be present in Activity management module
In, then the first management interface of Activity example in Activity instance management interface is called, to destroy title identical
Activity example.
It should be noted that the enforcement of the device of the Activity example of the management Android platform of 2 example of the figures above
In mode, the division of each functional module is merely illustrative of, can as needed in practical application, the configuration of such as corresponding hardware
Require or the convenient of realization of software considers, and above-mentioned functions distribution is completed by different functional modules, will the pipe
The internal structure of the device of the Activity example of reason Android platform is divided into different functional modules, to complete above retouching
The all or part of function of stating.And, in practical application, the corresponding functional module in the present embodiment can be by corresponding
Hardware is realized, it is also possible to is executed corresponding software by corresponding hardware and is completed, for example, aforesaid judge module, can have
Execution is aforementioned to determine whether that title identical Activity example is present in the hardware in Activity management module, for example
Diagnosis apparatuss, or corresponding computer program is able to carry out so as to complete general processor or other hardware of aforementioned function
Equipment;For another example aforesaid destruction module, if can be carried out not allowing title identical Activity example to be present in
In Activity management module, then call the Activity example first in the Activity instance management interface to manage and connect
Mouthful, so that the hardware of the title identical Activity example is destroyed, for example, destroy device, or be able to carry out corresponding calculating
(each embodiment that this specification is provided is all so as to complete the general processor of aforementioned function or other hardware devices for machine program
Foregoing description principle can be applied).
The destruction module 203 of 2 example of accompanying drawing can include that query unit 301 and example destroy unit 302, as 3 institute of accompanying drawing
Show the device of the Activity example of the management Android platform that the embodiment of the present invention three is provided, wherein:
Query unit 301, for calling the first management interface of Activity example in Activity instance management interface,
Whether there is and the currently sub- Activity class of sub- Activity class instance name identical with inquiring about in Activity management module
Example;
Example destroys unit 302, if for existing in Activity management module and currently sub- Activity class Instance Name
Claim identical sub- Activity class example, then will currently sub- Activity class example or with currently sub- Activity class Instance Name
The sub- Activity class example of identical is claimed to destroy.
In the device of the Activity example of the management Android platform of 4 example of accompanying drawing, the father of father's Activity class
Activity class management module provides many sub- Activity class management interfaces, and the judge module 202 of 2 example of accompanying drawing can include
Determining unit 401, as shown in Figure 4 the embodiment of the present invention four provide management Android platform Activity example dress
Put.If determining unit 401 be used for have invoked sub- the first management interface of Activity class in sub- Activity class management interface and
Not to parameter setting therein, or, the sub- Activity class second that have invoked in sub- Activity class management interface is managed
Interface and parameter therein is arranged, it is determined that do not allow title identical Activity example to be present in Activity
In management module.
In the device of the Activity example of the management Android platform of 2 to 4 any example of accompanying drawing, father's Activity class
Father's Activity class management module many sub- Activity class management interfaces, the management of 2 to 4 any example of accompanying drawing are provided
The device of the Activity example of Android platform can also include the first calling module 501 or the second calling module 502, such as
The dress of the Activity example of the management Android platform that the embodiment of the present invention five to seven shown in accompanying drawing 5-a to accompanying drawing 5-c is provided
Put, wherein:
First calling module 501, for if desired terminating sub- Activity class example, then calls sub- Activity class to manage
Sub- the 3rd management interface of Activity class in interface, be arranged on father's Activity apoplexy due to endogenous wind onPause life cycle function or
Terminate sub- Activity class example in person's onStop life cycle function;
Second calling module 502, for calling sub- the 4th management of Activity class in sub- Activity class management interface
Interface.
The device of the Activity example of the management Android platform of 2 to 4 any example of accompanying drawing can also be adjusted including the 3rd
The management for being provided with module 601 or the 4th calling module 602, the embodiment of the present invention eight to ten as shown in accompanying drawing 6-a to accompanying drawing 6-c
The device of the Activity example of Android platform, wherein:
3rd calling module 601, for calling the Activity example second in Activity instance management interface to manage
Interface, corresponding for certain sub- Activity class example Activity unit is removed from Activity management module;
4th calling module 602, for calling the 3rd management of Activity example in Activity instance management interface
Interface, terminates all sub- Activity class examples to destroy data in Activity management module in Activity management module.
It should be noted that the content such as information exchange between each module/unit of said apparatus, implementation procedure, due to
The inventive method embodiment is based on same design, and the technique effect which brings is identical with the inventive method embodiment, particular content
The narration in the inventive method embodiment is can be found in, here is omitted.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage
Medium can include:Read only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
The method and apparatus of the Activity example of the management Android platform for above embodiment of the present invention being provided enters
Go and be discussed in detail, specific case used herein has been set forth to the principle of the present invention and embodiment, above enforcement
The explanation of example is only intended to help and understands the method for the present invention and its core concept;General technology people simultaneously for this area
Member, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this explanation
Book content should not be construed as limiting the invention.
Claims (10)
1. a kind of management Android platform Activity example method, it is characterised in that methods described includes:
Activity example is created, the Activity example is the example of the sub- Activity class of father's Activity class;
Determine whether that title identical Activity example is present in Activity management module, the Activity pipe
Reason module provides multiple Activity instance management interfaces;
If not allowing title identical Activity example to be present in Activity management module, the Activity is called
The first management interface of Activity example in instance management interface, to destroy the title identical Activity example.
2. the method for claim 1, it is characterised in that described call in the Activity instance management interface
The first management interface of Activity example, is included with destroying the title identical Activity example:
The first management interface of Activity example in the Activity instance management interface is called, described to inquire about
Whether there is and the currently sub- Activity class example of sub- Activity class instance name identical in Activity management module;
If existing in the Activity management module and the currently sub- Activity class of sub- Activity class instance name identical
Example, then by the currently sub- Activity class example or with currently sub- Activity class instance name identical
Activity class example is destroyed.
3. the method for claim 1, it is characterised in that father's Activity class management module of the father Activity class
Many sub- Activity class management interfaces are provided, described determine whether that title identical Activity example is present in
Activity management module includes:
If have invoked sub- the first management interface of Activity class in the sub- Activity class management interface and do not have to wherein
Parameter setting, or, have invoked sub- the second management interface of Activity class in the sub- Activity class management interface and
Parameter therein is arranged, it is determined that do not allow title identical Activity example to be present in Activity management mould
In block.
4. the method as described in claims 1 to 3 any one, it is characterised in that the father of the father Activity class
Activity class management module provides many sub- Activity class management interfaces, and methods described also includes:
If desired terminate sub- Activity class example, then call the sub- Activity class in the sub- Activity class management interface
3rd management interface, is arranged on onPause life cycle function or the onStop life cycle of the father Activity apoplexy due to endogenous wind
Terminate the sub- Activity class example in function, or, call the son in the sub- Activity class management interface
The 4th management interface of Activity class.
5. the method as described in claims 1 to 3 any one, it is characterised in that methods described also includes:
The second management interface of Activity example in the Activity instance management interface is called, by certain sub- Activity
The corresponding Activity unit of class example is removed from the Activity management module;Or
The 3rd management interface of Activity example in the Activity instance management interface is called, terminates the Activity
All sub- Activity class examples data in the Activity management module are destroyed in management module.
6. a kind of management Android platform Activity example device, it is characterised in that described device includes:
Creation module, for creating Activity example, the Activity example is the sub- Activity of father's Activity class
The example of class;
Judge module, for determining whether that title identical Activity example is present in Activity management module,
The Activity management module provides multiple Activity instance management interfaces;
Module is destroyed, if for not allowing title identical Activity example to be present in Activity management module, adjusting
With the first management interface of Activity example in the Activity instance management interface, to destroy the title identical
Activity example.
7. device as claimed in claim 6, it is characterised in that the destruction module includes:
Query unit, for calling the first management interface of Activity example in the Activity instance management interface, with
Inquire about in the Activity management module and whether there is and the currently sub- Activity of sub- Activity class instance name identical
Class example;
Example destroys unit, if for existing in the Activity management module and currently sub- Activity class instance name phase
With sub- Activity class example, then by the currently sub- Activity class example or with currently sub- Activity class Instance Name
The sub- Activity class example of identical is claimed to destroy.
8. device as claimed in claim 6, it is characterised in that father's Activity class management module of the father Activity class
Many sub- Activity class management interfaces are provided, the judge module includes:
Determining unit, if for have invoked sub- the first management interface of Activity class in the sub- Activity class management interface
And not to parameter setting therein, or, have invoked the sub- Activity class in the sub- Activity class management interface
Two management interfaces and parameter therein is arranged, it is determined that do not allow title identical Activity example to be present in
In Activity management module.
9. the device as described in claim 6 to 8 any one, it is characterised in that the father of the father Activity class
Activity class management module provides many sub- Activity class management interfaces, and described device also includes:
First calling module, for if desired terminating sub- Activity class example, then calls the sub- Activity class management to connect
Sub- the 3rd management interface of Activity class in mouthful, is arranged on the onPause life cycle function of the father Activity apoplexy due to endogenous wind
Or terminate the sub- Activity class example in onStop life cycle function, or
Second calling module, for calling sub- the 4th management of Activity class in the sub- Activity class management interface to connect
Mouthful.
10. the device as described in claim 6 to 8 any one, it is characterised in that described device also includes:
3rd calling module, connects for calling the Activity example second in the Activity instance management interface to manage
Mouthful, corresponding for certain sub- Activity class example Activity unit is removed from the Activity management module;Or
4th calling module, for calling the 3rd management of Activity example in the Activity instance management interface to connect
Mouthful, terminate in the Activity management module all sub- Activity class examples and destroy in the Activity management module
Data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610819061.XA CN106445514B (en) | 2016-09-13 | 2016-09-13 | Method and device for managing Activity instance of Android platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610819061.XA CN106445514B (en) | 2016-09-13 | 2016-09-13 | Method and device for managing Activity instance of Android platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106445514A true CN106445514A (en) | 2017-02-22 |
CN106445514B CN106445514B (en) | 2020-01-03 |
Family
ID=58168636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610819061.XA Active CN106445514B (en) | 2016-09-13 | 2016-09-13 | Method and device for managing Activity instance of Android platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106445514B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107729075A (en) * | 2017-09-27 | 2018-02-23 | 北京奇艺世纪科技有限公司 | Movable component destroys control method and device |
CN108509234A (en) * | 2018-04-12 | 2018-09-07 | 珠海横琴盛达兆业科技投资有限公司 | A method of it dodges and moves back when taking pictures and return based on Android platform processing |
CN108595281A (en) * | 2018-04-26 | 2018-09-28 | Oppo广东移动通信有限公司 | Moving object processing method, device, storage medium and terminal |
US11567623B2 (en) | 2018-11-26 | 2023-01-31 | Huawei Technologies Co., Ltd. | Displaying interfaces in different display areas based on activities |
CN116302291A (en) * | 2023-05-11 | 2023-06-23 | 荣耀终端有限公司 | Application display method, electronic device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945115A (en) * | 2012-10-18 | 2013-02-27 | 东莞宇龙通信科技有限公司 | Terminal and terminal control method |
CN103617078A (en) * | 2013-11-22 | 2014-03-05 | 北京奇虎科技有限公司 | Method and device for managing active components |
US20140236885A1 (en) * | 2005-01-21 | 2014-08-21 | International Business Machines Corporation | Publishing activity tasks in a collaborative environment |
CN104182686A (en) * | 2013-05-23 | 2014-12-03 | 阿里巴巴集团控股有限公司 | Method and device for detecting Activity hijacking risk of Android system |
CN105786519A (en) * | 2016-03-17 | 2016-07-20 | 福州瑞芯微电子股份有限公司 | Android equipment program management method and Android equipment |
-
2016
- 2016-09-13 CN CN201610819061.XA patent/CN106445514B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140236885A1 (en) * | 2005-01-21 | 2014-08-21 | International Business Machines Corporation | Publishing activity tasks in a collaborative environment |
CN102945115A (en) * | 2012-10-18 | 2013-02-27 | 东莞宇龙通信科技有限公司 | Terminal and terminal control method |
CN104182686A (en) * | 2013-05-23 | 2014-12-03 | 阿里巴巴集团控股有限公司 | Method and device for detecting Activity hijacking risk of Android system |
CN103617078A (en) * | 2013-11-22 | 2014-03-05 | 北京奇虎科技有限公司 | Method and device for managing active components |
CN105786519A (en) * | 2016-03-17 | 2016-07-20 | 福州瑞芯微电子股份有限公司 | Android equipment program management method and Android equipment |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107729075A (en) * | 2017-09-27 | 2018-02-23 | 北京奇艺世纪科技有限公司 | Movable component destroys control method and device |
CN108509234A (en) * | 2018-04-12 | 2018-09-07 | 珠海横琴盛达兆业科技投资有限公司 | A method of it dodges and moves back when taking pictures and return based on Android platform processing |
CN108509234B (en) * | 2018-04-12 | 2021-06-11 | 珠海横琴盛达兆业科技投资有限公司 | Method for processing flash quit during shooting return based on Android platform |
CN108595281A (en) * | 2018-04-26 | 2018-09-28 | Oppo广东移动通信有限公司 | Moving object processing method, device, storage medium and terminal |
US11567623B2 (en) | 2018-11-26 | 2023-01-31 | Huawei Technologies Co., Ltd. | Displaying interfaces in different display areas based on activities |
CN116302291A (en) * | 2023-05-11 | 2023-06-23 | 荣耀终端有限公司 | Application display method, electronic device and storage medium |
CN116302291B (en) * | 2023-05-11 | 2023-10-20 | 荣耀终端有限公司 | Application display method, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106445514B (en) | 2020-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106445514A (en) | Android platform Activity instance management method and equipment | |
CN108279839A (en) | Voice-based exchange method, device, electronic equipment and operating system | |
CN111046150A (en) | Human-computer interaction processing system and method, storage medium and electronic device | |
CN111783439B (en) | Man-machine interaction dialogue processing method and device, computer equipment and storage medium | |
CN109101545A (en) | Natural language processing method, apparatus, equipment and medium based on human-computer interaction | |
WO2021253743A1 (en) | Method and system for switching scene functions of robot, storage medium and smart robot | |
CN110459222A (en) | Sound control method, phonetic controller and terminal device | |
CN106486120B (en) | Interactive voice response method and answering system | |
CN109635271A (en) | A kind of user's intension recognizing method, customer service system, device and electronic equipment | |
US20200210829A1 (en) | Network off-line model processing method, artificial intelligence processing device and related products | |
CN103164206A (en) | Software customization system based on software as a service (SAAS) | |
CN110019716A (en) | More wheel answering methods, terminal device and storage medium | |
JP7436077B2 (en) | Skill voice wake-up method and device | |
CN108845797A (en) | A kind of speech recognition type programmed method, device and computer equipment | |
CN108597499B (en) | Voice processing method and voice processing device | |
CN109710303A (en) | The multi version parallel developing method and system of interactive voice product | |
CN109740302B (en) | Simulation method and device of neural network | |
CN109462663A (en) | A kind of method, voice interactive system and storage medium that limitation system resource occupies | |
WO2021068247A1 (en) | Neural network scheduling method and apparatus, computer device, and readable storage medium | |
CN111241249A (en) | Man-machine conversation method, device, computer equipment and storage medium | |
CN109960489B (en) | Method, device, equipment, medium and question-answering system for generating intelligent question-answering system | |
CN110019727A (en) | Intelligent interactive method, device, terminal device and storage medium | |
CN112487170B (en) | Man-machine interaction dialogue robot system facing scene configuration | |
US5271091A (en) | Asynchronous architecture for knowledge-based systems | |
CN102946498B (en) | Multi-thread and multi-channel parallel interactive voice response (IVR) intelligent voice telephone group calling control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |