Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for displaying window applied to android platform

A technology for displaying windows and windows, applied in the field of communication

Active Publication Date: 2016-08-17
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In summary, there is currently no way to start an Activity so that the Activity can display a window

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 and device for displaying window applied to android platform
  • Method and device for displaying window applied to android platform
  • Method and device for displaying window applied to android platform

Examples

Experimental program
Comparison scheme
Effect test

example 2

[0099] Optionally, the method further includes:

[0100] When the Activity needs to be closed and the Activity to be closed is started in a window mode, it is determined whether there is a window associated with the Activity to be closed;

[0101] If there is no activity associated with the window of the Activity to be closed, after closing the Activity to be closed, delete the associated window object multiWinInfo of the Activity to be closed;

[0102] Among them, the window associated activity of the activity to be closed is: in the opened activity, the recorded window ID is the same as other activities recorded by the activity to be closed; the associated window object of the activity to be closed is: record The window ID of the window object is the same as the window ID of the Activity record to be closed.

[0103] Optionally, when the Activity needs to be closed and the Activity is started in a full-screen mode, the existing processing method of the Android platform can be used f...

example 5

[0132] When the window operation instruction is to close the window (MULTIWIN_CONTROL_CLOSE), close all the activities corresponding to the window (you can determine the window to be closed and the activities corresponding to the window according to the winId in the instruction), and delete the window object multiWinInfo ( The window object to be deleted can be determined according to the winId in the command).

[0133] When the window operation instruction is to hide / restore the window (MULTIWIN_CONTROL_HIDE), if the window is hidden, the window is placed under the desktop (the page corresponding to the launcher), and if the window is restored, the window is placed on the desktop. Specifically, when the window is hidden, the page corresponding to each Activity of the window is placed underneath. Optionally, in specific implementation, it can be searched from bottom to top from the historyRecord queue used to manage each Activity, priority Deal with activities that are not displa...

example 1

[0137] Example 1: Start Activity and create a new window display method

[0138] Figure 4 This is a flowchart of Example 1 of the present invention. Such as Figure 4 As shown, the method of Example 1 includes the following steps:

[0139] S401: Determine to start Activity;

[0140] S402: Determine to open a new window when starting the Activity;

[0141] S403: Assign a window identifier winId to the new window;

[0142] S404: Generate a window object multiWinInfo, set the second window attribute data winData2 in multiWinInfo, and record the allocated winId in multiWinInfo;

[0143] S405: Add the generated multiWinInfo to the window queue multiWinRecord;

[0144] S406: Set winData1 in the intent used to start the Activity according to winData2, and place the allocated winId in the intent, so that the Activity displays the window according to winData1 and records the winId.

[0145] Example 2: Start Activity and create a new window

[0146] Figure 5 It is a flowchart of Example 2 of the p...

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 present invention relates to communication technology, in particular to a method and device for displaying a window applied to an Android platform, so as to realize the purpose of starting an Activity so that the Activity displays a window. In the method provided by the embodiment of the present invention, when starting the active Activity, determine whether the starting mode of the Activity is a window mode; after determining that the starting mode of the Activity is a window mode, set the The first window attribute data, so that the Activity displays the window according to the first window attribute data. By adopting the method provided by the embodiment of the present invention, the purpose of starting an Activity so that the Activity displays a window can be realized.

Description

Technical field [0001] The present invention relates to communication technology, in particular to a method and device for displaying windows applied to an Android platform. Background technique [0002] The Android platform is widely used internationally, but the terminal based on the original Android platform can only display the page in full screen mode, and the terminal user can only see one display page at the same time. Currently, there is no method for displaying a page in a window mode applied to the Android platform. [0003] In the Android platform, an application is composed of one or more activities, and each activity is responsible for the display and processing of a page. In the prior art, the pages are displayed in full screen, which is equivalent to only one window. The queue historyRecord manages the activities. The sequence of the activities in the queue historyRecord is the scheduling order of the activities. The last activity started is at the top of the queue...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0481G06F3/0484G06F9/44
CPCG06F9/449G06F3/0481
Inventor 朱平洋陈验方张云
Owner QINGDAO HISENSE MOBILE COMM TECH CO LTD