Back to project page GL2libpng-android.
The source code is released under:
MIT License
If you think the Android project GL2libpng-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.fakhir.GL2libpng; // w w w . ja v a 2 s .c om import android.app.Activity; import android.os.Bundle; import android.content.res.AssetManager; import android.util.Log; import android.view.WindowManager; import java.io.File; public class GL2libpngActivity extends Activity { public static AssetManager assetMgr; GL2View _view; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); assetMgr = getResources().getAssets(); _view = new GL2View(getApplication()); setContentView(_view); } @Override protected void onPause() { super.onPause(); _view.onPause(); } @Override protected void onResume() { super.onResume(); _view.onResume(); } }