Create a new instance of Application.
The console will be set to graphics mode or there will be an throws if setting graphics mode failed.
id |
the application id or null |
flags |
the application flags |
New instance of Application or null
if |