Source/CSBackend/Platform/Android/Main/Java/com/chilliworks/chillisource/core/CSActivity.java
/**
	 * Triggered when the window focus changes (i.e. the activity is no
	 * longer the top of the view stack or becomes the top of the view stack).
	 * The order of this in relation to resume and stop is not defined
	 * 
	 * @author Ian Copland
	 * 
	 * @param Whether the window has focus or not
	 */
Triggered when the window focus changes .
The order of this in relation to resume and stop is not defined

@author Ian Copland

@param Whether the window has focus or not
Triggered when the window focus changes . The order of this in relation to resume and stop is not defined @author Ian Copland @param Whether the window has focus or not
@Override public void onWindowFocusChanged(boolean in_hasFocus)
    {
    	if(in_hasFocus == true)
    	{
    		super.onWindowFocusChanged(in_hasFocus);
    		CSApplication.get().foreground();
    	}
    	else
    	{
    		CSApplication.get().background();
    		super.onWindowFocusChanged(in_hasFocus);
    	}
    }
@ Override public void onWindowFocusChanged ( boolean in_hasFocus ) { if ( in_hasFocus == true ) { super . onWindowFocusChanged ( in_hasFocus ) ; CSApplication . get ( ) . foreground ( ) ; } else { CSApplication . get ( ) . background ( ) ; super . onWindowFocusChanged ( in_hasFocus ) ; } }
Triggered when the window focus changes (i.e.
Triggered when the window focus changes ( i . e .