Question: Security Token App The security token is an online security credential that adds an extra layer of identity protection when an employee signs - in

Security Token App
The security token is an online security credential that adds an extra layer of identity protection when an employee signs-in to a protected server. The token, in most cases, uses a complex cryptographic algorithm to automatically generate a random passcode every minute. This passcode must be entered by the employee in the server log-in window in order to log into the protected server. The application has a verification feature, which is used for development purposes only, to make sure the generated security passcodes are synchronized with the companys server. The server, on the other side, must be synchronized with the token and the same algorithm is used on the server side to generate the same passcode with the same random sequence. Assignment 5 will cover only the client side of the app with no verification required.
Objectives
Develop an application that utilizes broadcast receivers.
Design a multi-activity application.
Use shared preferences in Android apps.
Use intents to start a new activity.
Use a list view to display data.
App Description
In this lab, you will develop the first part of a security token app. This includes the password generation activity and the verification activity to display the timestamps of generated passwords.
Design Requirements
You will need to create two activities, as shown in the images below, in order to complete this assignment.
The first (main) activity displays:
A passcode that changes every minute. For simplicity, use the simple formula PassCode = Current Minute*1245+10000 to generate the passcode.
The time remaining in seconds before the passcode changes.
The first activity also has a button to verify the passcode. Once the user clicks the Verify button in the first activity, the second activity (verification window) should be launched and become visible to the user.
The second activity should have a ListView that displays all timestamps for all passcodes that were previously generated, and one button to clear the list. Once the user exits the app, the list will clear but the last timestamp will be stored in a shared preference and will be restored the next time the user opens the application.
The application should support landscape and portrait orientations and should handle screen orientation changes at run time.
Use Andriod studio and give me all the files as per the assignment instructions

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 Programming Questions!