Reference no: EM133365070
Question: Continue working on your app you developed in the lastfolder. Please note that in the first screenshot, you now have a Remember Me checkbox. Use SharedPreferences to store this preference of user whether user wants to be remembered or not? If user checks the checkbox, next time your app runs, it should NOT show the Login page and should proceed straight to the players activity page (second screenshot). However, if user does not check the checkbox, the app should still ask user to enter the login credentials by showing the Login Screen (first screenshot).
The Second Activity is similar to what you created in the lastfolder. However, please note the followings:
• Whenever, you click on any of the players' pictures, that picture should be saved in the Gallery (internal storage) of the phone.
• Please make sure that save should only occur when you click on the image / picture of the player. The image should not be saved if user clicks on any other part of that row, e.g., player name, serial or score.
• On the save of the image in the Gallery, a Toast should appear at the bottom of the screen to inform user that the image has been saved in the Gallery of the phone. Please refer to first screenshot below for expected output of the message shown to the user on save of the image.
• Your app should be able to save images of any number of players clicked by the user. Please refer to the second screenshot below to see a glimpse of how the Gallery of the phone should look like when the images are saved. Please note that if you are using a different emulator, you might have different arrangement of pictures which is not a problem.
• Your app should save the images of the players in the Gallery with the name of the player, e.g., each image name should be the name of the player. For example, if I am saving Christiano Ronaldo's picture, then the image file name should be Christiano Ronaldo.jpg or Christiano Ronaldo.png etc. as shown in the third screenshot below.
• You can check for the image name by clicking the menu > Details as shown in the fourth screenshot below.
• Finally, remove the AlertDialogs which was one of the requirements of the the file submit