Android Open Source - Sudoku-Solver Clear Activity






From Project

Back to project page Sudoku-Solver.

License

The source code is released under:

Apache License

If you think the Android project Sudoku-Solver 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 com.awhittle.sudokusolver;
/*from   w  ww  . ja v a 2s.c o m*/
import android.os.Bundle;
import android.view.View;
import android.app.Activity;
import android.content.Intent;

public class ClearActivity extends Activity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_clear);
  }

  public void gotoMain1(View v){
    Intent intent = new Intent(this, MainActivity.class);
    startActivity(intent);
  }
  
  public void clearMatrix(View v){
    Grid.grid = new int[9][9];
    Intent intent = new Intent(this, MainActivity.class);
    startActivity(intent);
  }

}




Java Source Code List

com.awhittle.sudokusolver.ClearActivity.java
com.awhittle.sudokusolver.DisplayActivity.java
com.awhittle.sudokusolver.EditActivity.java
com.awhittle.sudokusolver.Grid.java
com.awhittle.sudokusolver.MainActivity.java
com.awhittle.sudokusolver.SectorActivity.java
com.awhittle.sudokusolver.SolveActivity.java
com.awhittle.sudokusolver.Solve.java