Question: Using Android studio Java Create an android application: 1 . Add 3 more activities ( activity 2 , activity 3 , activity 4 ) and

Using Android studio Java
Create an android application:
1. Add 3 more activities (activity2, activity3, activity4) and title each one
2. To the main activity, add an image of your choice right below the title then add 2
buttons to open the 2 added activities. Provide also a multiline EditText to use for
display.
3. Activity2 should allow you to throw three die (images provided) at a click of a button
this activity should display the die corresponding to the numbers rolled. If you roll a
3,5 and 2 then display the die images that shows the 3,5,2 numbers.
Rules: at least 2 players (simulated with 2 play buttons
Each player puts $50 in a pot. On each play you bet some $amount.
Each player starts out with 0 total Points
Each player has 3 chances to roll the 3 die, on the last try add up the score point and
add that to the total Points of the player. (player does not have to try more than once
if s/he is ok with the score, but has the option to try again if s/he think s/he may get a
better score). The player who reaches a 100 total points wins the bet. Show each
player total Points and each player $amount on his/her pot as the play progress.
(you may change the 100 points to some other smaller value, or have more than 3
die)
4. Open activity3 by sending it some data. The data is an account object
(accountNumber, balance, bankName) from a class Account. You could hard code it,
read the values from user, or provide random values. Data must be sent as an
Account object.
Activity3 gets the Account object, ask the user to choose to deposit some amount to
it or withdraw some amount from it, then send back the same account object to main
activity. Main activity then displays the account object it received and displays
whether the balance amount has increased or decreased and by how much.

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!