Context types

When you create a context, you must specify a flag in order to define the type of context. The context defines the connection between your application and the underlying windowing system. Depending on the needs of your application, and in some cases, the permissions of your application, there are a number of different context types available.

The following context types are supported for your system:

Flag Description root permission required?
SCREEN_APPLICATION_CONTEXT

This context type enables a process to create its own windows and to control some of the window properties.

An application cannot modify a window created by another application and it cannot send an event outside of its own process space. An application's context is unaware of other top-level windows in the system.

An application context can parent another window, even if the window is created in another context within another process.

No

Last modified: 2015-03-31



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus