canmove, Confirmed users
1,220
edits
Ptheriault (talk | contribs) |
Ptheriault (talk | contribs) |
||
Line 5: | Line 5: | ||
=== Overview === | === Overview === | ||
At the heart of Gaia is the System App which is the app which loads all other apps, and takes care manages all system level activities. When B2G starts, system app is loaded, which loads scripts providing the the interface for the phone, including the home screen, lock screen, status bar and various other components. The system app manages running applicaitons, and provides system level UI, such as notifications, the lockscreen, status bar, popups/dialogs amongst other things. Applications are loaded into iframes within the system (of type mozapp and mozbrowser, so that the system app can monitor events and manage them). | |||
Once loaded, the simplified window hierarchy is as follows: | |||
<code> | |||
<window>Gecko Chrome | |||
| | |||
+--> <iframe> system app | |||
| | |||
+--> <iframe> homescreen app | |||
| | |||
+--> <iframe> keyboard | |||
| | |||
+--> <iframe> lockscreen | |||
| | |||
+--> ... more app iframes are created here as apps are loaded | |||
</code> | |||
===Architecture=== | ===Architecture=== |