Back to project page 101AndroidApps.
The source code is released under:
Licenced under the Creative Commons Attribution 4.0 licence. For full text see http://creativecommons.org/licenses/by/4.0/
If you think the Android project 101AndroidApps 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.hulzenga.ioi.android.app_002; /* w w w . j a v a 2 s. c o m*/ import android.os.Bundle; import com.hulzenga.ioi.android.AppActivity; public class BouncyBallsActivity extends AppActivity { private BouncyBallsView bouncyBallView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); bouncyBallView = new BouncyBallsView(this); setContentView(bouncyBallView); } @Override protected void onPause() { bouncyBallView.stop(); super.onPause(); } @Override protected void onStart() { bouncyBallView.start(); super.onStart(); } }