Skip to content

Instantly share code, notes, and snippets.

@Leonard02
Leonard02 / court counter Java
Created Feb 6, 2018
Court Counter by Leoanrd
View court counter Java
package com.example.android.courtcounter;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import android.view.View;
public class MainActivity extends AppCompatActivity {
int scoreTeamA=0;
@Leonard02
Leonard02 / Just Java JAVA
Created Feb 6, 2018
JUST JAVA by Leonard
View Just Java JAVA
/**
* IMPORTANT: Make sure you are using the correct package name.
* This example uses the package name:
* package com.example.android.justjava
* If you get an error when copying this code into Android studio, update it to match teh package name found
* in the project's AndroidManifest.xml file.
**/
package com.example.android.justjava;
@Leonard02
Leonard02 / football JAVA
Created Feb 6, 2018
FOOTBALL APP by Leonard
View football JAVA
package com.example.android.football;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;
import android.view.View;
import android.widget.Toast;
import com.example.android.football.R;
View QUIZ APP JAVA
package com.example.android.quizapplk;
import android.support.v7.app.AppCompatActivity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.CheckBox;
You can’t perform that action at this time.