Application states in MeeGo 1.2 Harmattan
girishpadia
(Talk | contribs) m (Girishpadia - - →Application states) |
hamishwillee
(Talk | contribs) m (Text replace - "Category:MeeGo" to "Category:MeeGo Harmattan") |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | [[Category:MeeGo]] | + | [[Category:MeeGo Harmattan]] |
{{Abstract|This article explains the two states of an application in MeeGo 1.2 Harmattan}} | {{Abstract|This article explains the two states of an application in MeeGo 1.2 Harmattan}} | ||
| Line 14: | Line 14: | ||
==Application states== | ==Application states== | ||
| − | If your MeeGo 1.2 Harmattan (known as Harmattan in developer community) application is running, | + | If your MeeGo 1.2 Harmattan (known as Harmattan in developer community) application is running, it may be in the following two states. |
{| class="wikitable" | {| class="wikitable" | ||
| Line 23: | Line 23: | ||
# The application is running in the foreground. | # The application is running in the foreground. | ||
# It can use more CPU and memory. | # It can use more CPU and memory. | ||
| − | # In case, If an | + | # In case, If an active application uses more amount of memory and due to this, if all background applications have already been terminated, the out-of-memory situation can lead to the termination of the Active application. |
|- | |- | ||
| Line 38: | Line 38: | ||
| − | The change in the either of the state occurs by the user interaction. The application's state transition can be detected by '''platformWindow.windowState'''. | + | The change in the either of the state occurs by the user interaction. The application's state transition can be detected by '''platformWindow.windowState'''. |
| + | |||
| + | Following values can be retrieved from windowState: | ||
| + | :*windowState.visible | ||
| + | :*windowState.active | ||
| + | :*windowState.animating | ||
| + | :*windowState.viewMode | ||
| + | :*windowState.Fullsize | ||
| + | :*windowState.Thumbnail | ||
| + | :*windowState.viewModeString | ||
For Example, | For Example, | ||
Latest revision as of 13:51, 13 June 2012
This article explains the two states of an application in MeeGo 1.2 Harmattan
Article Metadata
Compatibility
Platform(s): MeeGo 1.2 Harmattan
Article
Created: girishpadia
(18 Sep 2011)
Last edited: hamishwillee
(13 Jun 2012)
Introduction
This article explains the two states of an application in MeeGo 1.2 Harmattan
Application states
If your MeeGo 1.2 Harmattan (known as Harmattan in developer community) application is running, it may be in the following two states.
| Application State | Description |
|---|---|
| Active State |
|
| Minimize State |
|
The change in the either of the state occurs by the user interaction. The application's state transition can be detected by platformWindow.windowState.
Following values can be retrieved from windowState:
- windowState.visible
- windowState.active
- windowState.animating
- windowState.viewMode
- windowState.Fullsize
- windowState.Thumbnail
- windowState.viewModeString
For Example,
if (platformWindow.active)
// do something
else
// do something
More Information
The more details can be obtained from here

