Android Open Source - RageTextSample-Android-Java R A G E Sample Activity






From Project

Back to project page RageTextSample-Android-Java.

License

The source code is released under:

MIT License

If you think the Android project RageTextSample-Android-Java listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package de.ertlu.rob.ragesamplebase;
//  www  .  ja  v a 2s  . c o  m
import android.app.Activity;
import android.os.Bundle;

public class RAGESampleActivity extends Activity {

    public static RAGESampleActivity instance;

    private RAGESampleSurfaceView rageSampleSurfaceView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        instance = this;
        setContentView(R.layout.activity_main);
    }

    @Override
    protected void onPause() {
        super.onPause();
        if ( rageSampleSurfaceView != null ) {
            rageSampleSurfaceView.onPause();
        }
    }

    @Override
    protected void onResume() {
        super.onResume();
        if ( rageSampleSurfaceView != null ) {
            rageSampleSurfaceView.onResume();
        }
    }
}




Java Source Code List

de.ertlu.rob.ragesamplebase.RAGESampleActivity.java
de.ertlu.rob.ragesamplebase.RAGESampleRenderer.java
de.ertlu.rob.ragesamplebase.RAGESampleSurfaceView.java