Back to project page 4est.
The source code is released under:
MIT License
If you think the Android project 4est 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.wordsaretoys.forest; //from w ww .j a v a2 s .co m import com.wordsaretoys.forest.R; import android.app.Activity; import android.os.Bundle; public class MainActivity extends Activity { static Shared shared; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); if (shared == null) { shared = new Shared(); } shared.onCreate(this); } @Override protected void onPause() { super.onPause(); Shared.audio.pause(); } protected void onResume() { super.onResume(); Shared.audio.play(); } }