Back to project page FallingBall.
The source code is released under:
GNU General Public License
If you think the Android project FallingBall 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 edu.fmi.android.brickpong; /* w w w . j a va2 s . com*/ import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; public class HomeActivity extends Activity { /** * {@value} */ private static final String TAG = HomeActivity.class.getSimpleName(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_home); } public void startGame(final View clickedView) { final Intent gameIntent = new Intent(this, GameActivity.class); startActivity(gameIntent); } public void openSettings(final View clickedView) { Log.i(TAG, "settings opened"); } public void openAchievements(final View clickedView) { Log.i(TAG, "achievements opened!"); } }