The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Feb. 18, 2020
Filed:
Mar. 06, 2017
Wuhan Douyu Network Technology Co., Ltd., Wuhan, CN;
Lei Zhang, Wuhan, CN;
WUHAN DOUYU NETWORK TECHNOLOGY CO., LTD., Wuhan, CN;
Abstract
The present invention discloses a method and apparatus for logging out of an application. The method includes: starting a transparent interface after a starting operation for starting the application is received, wherein the transparent interface is displayed in a transparent state, and the transparent interface is marked as a single task starting mode; starting a main interface of the application to press the transparent interface to the bottom of a system stack memory, wherein interfaces are arranged from the stack bottom to the stack top according to the starting sequence in the system stack memory; starting the transparent interface after a closing operation for closing the application is received to pop up the main interface from the system stack memory; and destroying the transparent interface to close the application. By adopting the method and apparatus provided by the present application, the technical problem that complete logout and memory leak avoidance cannot be achieved at the same time in the method for logging out of an application program in an Android system in the prior art can be solved. The technical effect of both complete logout of the application and memory leak avoidance is achieved.