Question: This is an android assignment: Game application: The Main Menu activity provides 5 buttons for starting the 5 activities of the app. The Game Emulator

This is an android assignment:

Game application:

The Main Menu activity provides 5 buttons for starting the 5 activities of the app.

The Game Emulator activity displays player 1 and 2 and provides 3 buttons that can be used

to specify who won, lost, or tied the game.

The Scoreboard activity displays all players that are stored in the database as well as their

wins, losses, and ties.

The Select Player activity allows the user to select player 1 or 2 from a list of players thats

stored in the database.

The Add Player activity allows the user to add a new player to the database.

Project 14-1: Players app

Page 1

Main Menu activity

Start Game

(Button)

View Scoreboard

(Button)

Select Player 1

(Button)

Select Player 2

(Button)

Add Player

(Button)

Game Emulator activity

Player 1

Joel

(TextViews)

Player 2

Ray

(TextViews)

Joel wins!

(Button)

Ray wins!

(Button)

It's a tie!

(Button)

Scoreboard activity

Player Wins Losses Ties

(TextViews)

Joel 4 1 5 (ListView with TextViews)

Ray 3 7 10

Mike 3 2 5

Select Player 1 and

Select Player 2 activities

Select Player 1

(TextView)

Joel

(ListView)

Ray

Mike

I would really like an example of how the buttons will be able to store data using a Listview.

The same also goes for how input through an Edittext will also be stored in a Listview.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!