API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

Window Manager

The Brew MP Window Manager allows applications to create multiple windows of varying types, and enables multiple applications to share the device's display at the same time. Its built-in functions go beyond the basic requirements for window management on a Brew MP device. For example, if you have a legacy, non-windowed app on the screen, and windowed app tries to create a pop-up notification on top of that, only one or the other can be visible on the screen. But Window Manager takes a screenshot of the legacy app and displays the pop-up notification over it, as if it were a windowed app. Apps have full control over their window to specify size, position and type (full screen, popup, softkey, annunciator, and icon). Window Manager has priority-based stacking and suppression of popup windows, and manages z-order stacking of windows, including "window families." Each window is a Widget supporting the IWidget interface, and the SDK includes reference widgets for Trig, Flash, BUIW, and Display-based applications. Developers can wrap custom framework or environment applications with a widget which handles application- and window- related events. Regarding look and feel, OEMs are free to customize the Window Manager application provided with the platform, even relaxing Window Manager and allowing each app to handle its own window visual designs. The home screen is a special case because it is the idle screen on the phone, so Brew MP supports a pluggable "home screen" window that is not subject to "minimize/close all windows" commands from applications. The home screen can host task tray and active app icons as in the desktop environment.

ClassAEECLSID_WindowCapture
AEECLSID_WindowHistory
AEECLSID_WindowMgr
AEECLSID_WindowSys
AEECLSID_WindowMgr0deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
ConstantAEEWindowMgrExtProp_ACTIVATE
AEEWindowMgrExtProp_ANNUN_POSITION_HINT
AEEWindowMgrExtProp_ANNUN_STYLE
AEEWindowMgrExtProp_CAPTUREMODE
AEEWindowMgrExtProp_CLASS
AEEWindowMgrExtProp_CLOSEALL
AEEWindowMgrExtProp_DISPLAY
AEEWindowMgrExtProp_EXTENT_HINT
AEEWindowMgrExtProp_KEYSMAPPING
AEEWindowMgrExtProp_MINIMIZE
AEEWindowMgrExtProp_MINIMIZEALL
AEEWindowMgrExtProp_NO_CLOSEALL
AEEWindowMgrExtProp_PARENTID
AEEWindowMgrExtProp_POSITION_HINT
AEEWindowMgrExtProp_PREFERRED_ROTATION
AEEWindowMgrExtProp_Z_PRIORITY_ID
AEEWindowMgrExtProp_Z_PRIORITY_SUPPRESS_LEVEL
AEEWindowMgrExt_CAPTUREMODE_NONE
AEEWindowMgrExt_CAPTUREMODE_ONFOCUS
AEEWindowMgrExt_CAPTUREMODE_ONPOINTERDOWN
AEEWindowMgrExt_CLASS_Annunciator
AEEWindowMgrExt_CLASS_Fullscreen
AEEWindowMgrExt_CLASS_HomeScreenIcon
AEEWindowMgrExt_CLASS_OverlaySoftkey
AEEWindowMgrExt_CLASS_Popup
AEEWindowMgrExt_CLASS_Softkey
AEEWindowMgrExt_CLASS_TaskTrayIcon
AEEWindowMgrExt_CapabilityID
AEEWindowMgrExt_PROPEX_DRAWABLE
AEEWindowMgrExt_PROPEX_ROTATION
AEEWindowMgrExt_PROPEX_STATE
AEEWindowMgrExt_STATE_MINIMIZED
AEEWindowMgrExt_STATE_OBSCURED
AEEWindowMgrExt_STATE_SUPPRESSED
AEEWindowMgrExt_STATE_VISIBLE
AEEWindowMgrExt_SUPPRESS_LEVEL_NONE
AEEWindowMgrExt_SUPPRESS_LEVEL_NORMALNOTIFICATION
AEEWindowMgrExt_SUPPRESS_LEVEL_URGENTNOTIFICATION
AEEWindowMgrExt_Z_PRIORITY_ALWAYSONTOP
AEEWindowMgrExt_Z_PRIORITY_NORMAL
AEEWindowMgrExt_Z_PRIORITY_NORMALNOTIFICATION
AEEWindowMgrExt_Z_PRIORITY_URGENTNOTIFICATION
Data structureAEEWindowProp
HelperWindowMgrExt_Activate
WindowMgrExt_CloseAll
WindowMgrExt_Minimize
WindowMgrExt_MinimizeAll
WindowMgrExt_SetAnnunStyle
WindowMgrExt_SetExtentHint
WindowMgrExt_SetPositionHint
WindowMgrExt_SetPreferredRotation
WindowMgrExt_SetSoftkeyWindow
WindowMgrExt_SetWindowProp
WindowMgrExt_SetZPrioritySuppressLevel
InterfaceIWindowCapture
IWindowHistory
IWindowMgr
IWindowMgr1
IWindowMgrApp
IWindowSys
IWindowMgr0deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
MethodIWindowCapture_GetCaptureWidget()
IWindowHistory_AddRef()
IWindowHistory_GetWinIDs()
IWindowHistory_GetWinInfo()
IWindowHistory_OnChange()
IWindowHistory_QueryInterface()
IWindowHistory_Release()
IWindowMgr1_CloseWindowByID()
IWindowMgr1_SetWindowPropsByID()
IWindowMgrApp_CloseWindow()
IWindowMgrApp_CreateWindow()
IWindowMgrApp_SetWindowProps()
IWindowMgr_CheckCapabilities()
IWindowMgr_CloseWindow()
IWindowMgr_CreateWindow()
IWindowMgr_GetCapabilities()
IWindowMgr_SetWindowProps()
IWindowSys_SetWindowMgrApp()
IWindowMgr0_ActivateWindow()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IWindowMgr0_CloseWindow()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IWindowMgr0_CreateWindow()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IWindowMgr0_GetExtent()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IWindowMgr0_SetWindowProp()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
PrivilegeAEEPRIVID_AppInfo2AnnunciatorProvider
AEEPRIVID_AppInfo2ReadAccess
AEEPRIVID_ManipulateAnyWindowByID
AEEPRIVID_WindowMgrExtCaptureOnFocus
AEEPRIVID_WindowMgrExtCloseAll
AEEPRIVID_WindowMgrExtNoCloseAll