package com.annimon.jecp.android;

import android.app.Activity;
import android.os.Bundle;
import com.annimon.jecp.ApplicationListener;

public abstract class JecpApplication extends Activity {
    
    private ApplicationListener listener;
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        onCreate();
    }
    
    public void init(ApplicationListener listener) {
        this.listener = listener;
        final JecpSurfaceView view = new JecpSurfaceView(this, listener);
        view.setFocusable(true);
        setContentView(view);
    }
    
    protected abstract void onCreate();

    @Override
    protected void onPause() {
        listener.onPauseApp();
        super.onPause();
    }

    @Override
    protected void onDestroy() {
        listener.onDestroyApp();
        super.onDestroy();
    }
    
}

@@ -87,16 +87,81 @@
 undle;%0D%0A
+import android.view.Window;%0D%0Aimport android.view.WindowManager;%0D%0A
 import c
@@ -424,24 +424,229 @@
 nceState);%0D%0A
+        requestWindowFeature(Window.FEATURE_NO_TITLE);%0D%0A        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,%0D%0A                             WindowManager.LayoutParams.FLAG_FULLSCREEN);%0D%0A
         onCr

Add fullscreen