Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for calling background task through notification bar based on Android system

A notification bar, background technology, applied in the direction of program startup/switching, multi-program installation, hardware monitoring, etc., can solve the problem of loss and re-run at the same time

Active Publication Date: 2015-02-25
THUNDERSOFT
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the above flag is set, the activity component Activity in the notification will be recreated without displaying the Activity instance switched to the background before, that is, when the user clicks the notification bar with his hand, the background task will be matched and this The task is switched to the foreground, and then the application component is recreated in the task, resulting in the loss of the previously monitored dynamic data, and at the same time, operations such as module initialization or service registration are re-performed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for calling background task through notification bar based on Android system
  • Method for calling background task through notification bar based on Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The method for invoking a background task from the notification bar based on the Android system provided by the present invention is described below, taking the background task as monitoring software as an example for illustration. Starting the monitoring software for the notification bar can realize the jump of the task where the software is located from the background to the foreground, and run continuously, thereby avoiding the problem that the main interface program components of the monitoring software are recreated when the monitoring software is started from the notification bar.

[0021] Such as figure 1 Shown is the flow chart of the method for starting the monitoring software based on the notification bar of the Android system, wherein the premise of the present invention is that the monitoring software is switched to run in the background. In this embodiment, the smart terminal can be a mobile phone or a tablet computer, etc., specifically , including the fol...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for calling a background task through a notification bar based on an Android system. The method includes the steps that A, when a background task notice in the notification bar is touched to be selected by a user, an application program assembly which is started by the notification bar is established; B, the background task which is touched to be selected by the user is started through the established application program assembly, and the background task is switched to a foreground to be displayed; C, the established application program assembly is closed. Consequently, the software task can be skipped to the foreground from a background, continuous operation is achieved, and therefore the problem that a main interface program assembly of monitoring software is established again when the monitoring software is started by the notification bar can be solved.

Description

technical field [0001] The invention relates to the technical field of intelligent terminal task management, in particular to a method for invoking a background task from a notification bar based on an Android system. Background technique [0002] At present, many electronic terminals are equipped with a multi-tasking system, which means that multiple application programs, such as the Android system, can be run at the same time. Generally speaking, starting and running an application has a certain time overhead, so in order to speed up the operation, when switching applications through the home button of the Android system, for example, the application in the foreground did not really exit, but switched to the background, that is, The task (Task) and its activity component (Activity) corresponding to this application are in the background stop state (Stopped). Quick to use. [0003] When designing and implementing monitoring applications for mobile phones with an Android s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/48G06F11/30
Inventor 田兆申赵鸿飞
Owner THUNDERSOFT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products