Source/CSBackend/Platform/Android/Main/Java/com/chilliworks/chillisource/core/CSActivity.java
/**
	 * Triggered when the activity is first created (i.e. on app launch).
	 * 
	 * @author Ian Copland
	 * 
	 * @param Saved instance state (Not used)
	 */
Triggered when the activity is first created .

@author Ian Copland

@param Saved instance state (Not used)
Triggered when the activity is first created . @author Ian Copland @param Saved instance state ( Not used )
@Override public void onCreate(Bundle savedInstanceState) 
    {	
        super.onCreate(savedInstanceState);
        try
        {
        	requestWindowFeature(Window.FEATURE_NO_TITLE);
        	getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
        	m_appConfig = new AppConfig(this);
        	m_surface = new Surface(m_appConfig, this);
        	CSApplication.create(this);
        	CSApplication.get().activityIntent(getIntent());
        	HttpRequestNativeInterface.Setup(this);
        	SharedPreferencesNativeInterface.Setup(this);
            WebViewNativeInterface.Setup(this);
            CSPowerManager.Setup(this);
        }
        catch (Exception e)
        {
        	Logging.logError("Activity.onCreate has thrown an exception: " + e.toString());
        	e.printStackTrace();
        }
    }
@ Override public void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; try { requestWindowFeature ( Window . FEATURE_NO_TITLE ) ; getWindow ( ) . setFlags ( WindowManager . LayoutParams . FLAG_FULLSCREEN , WindowManager . LayoutParams . FLAG_FULLSCREEN ) ; m_appConfig = new AppConfig ( this ) ; m_surface = new Surface ( m_appConfig , this ) ; CSApplication . create ( this ) ; CSApplication . get ( ) . activityIntent ( getIntent ( ) ) ; HttpRequestNativeInterface . Setup ( this ) ; SharedPreferencesNativeInterface . Setup ( this ) ; WebViewNativeInterface . Setup ( this ) ; CSPowerManager . Setup ( this ) ; } catch ( Exception e ) { Logging . logError ( "Activity.onCreate has thrown an exception: " + e . toString ( ) ) ; e . printStackTrace ( ) ; } }
Triggered when the activity is first created (i.e.
Triggered when the activity is first created ( i . e .
//go full screen! //initialise the old style native interfaces (These should be removed over time as each of these is changed over to the new system!)