Android end-of-term small project TrackTable income and expenditure table + source code

1. Demand analysis

This is an account recording and analysis app. The main functions of this system are: user login and registration, home page bill analysis, upload bill, search bill information, personal information, reset password, and data validation.

System function diagram

System overall use case diagram

2. System development platform environment

IDE:Android Studio 2021.1.x

Plugin: simpleUMLCE

Tool: Visustin v8 Demo

Java version: Java11

OS:win11
Database:SQLite 5.4

3. System function class diagram

Use the UML plug-in to draw class diagrams,

simpleUMLCE: In the IDE plug-in, enter UML to search and download simpleUMLCE. Since the IDE version is too new, you may not be able to find it. You can also select and install other UML plug-ins in the search results, and use them according to the plug-in instructions.

 System function class diagram

 System Flow Diagram

4. Module flow chart (or module class diagram)

Here we only draw a flow chart of a relatively important class. For other classes, you can use the Visustin v8 Demo tool to draw according to the online tutorial.

Visustin v8 Demo download address: Aivosto downloads - Analyze, document and flowchart your code https://www.aivosto.com/download.html

                                                        IndexActivity flow chart

5. Database design

ER diagram

User table (user)

field

type of data

scope

Data Sources

special requirements

foreign key

required fields

the case

Remark

id

integer

0~

self-increment

no need to insert

Y

1

Id

username

text

0~

user input

Y

3191904123

account

password

text

6 digits~

user input

Password length is greater than 6 characters

Y

123456

password

phone

text

11 bits

user input

real number required

Y

17012345678

Phone number

bill table (income)

field

type of data

scope

Data Sources

special requirements

foreign key

required fields

the case

Remark

id

integer

0~

self-increment

no need to insert

Y

1

Id

username

text

0~

user input

Y

Y

3191904123

username

money

text

0~

user input

Password length is greater than 6 characters

Y

123.00

the amount

type

text

0~

user input

real number required

Y

income

type

date

text

0~

system generated

don't have to fill in

Y

2022-5-20

date

note

text

0~

user input

Y

bonus

Remark

6. System interface

Seven, system testing

Module Test Form

test module

Input data

Output Data

operate

Test Results

Log in

Account: 123456 Password: 123456

Account number: 123456 Number: 15812345678

Database Conditional Query

login successful

register

Account: 123456 Password: 123456

Number: 15812345678

database insert

registration success

reset Password

Password: 000000

Number: 15812345678

database update

reset successful

Main Page Billing Analysis

Income + Payout + Tips

Database query + analysis

The query is successful + the income and expenditure status is good

Record

Username: 1

Amount: 23

Type: Income

Time: 2022-05-20

Remarks: None

database insert

Submitted successfully

search

Username: 1

Username: 1

Amount: 23

Type: Income

Time: 2021.09.12

Remarks: None

Database Conditional Query

Search succeeded

mine

Account number: 123456 Number: 15812345678

Account number: 123456 Number: 15812345678

Pass by value

MainActivity=》IndexActivity=》MineFragmen

Personal information shows success

Test page jump

current page

jump page

event

jump direction

Test Results

log in page

front page

Log in

unidirectional

Y

log in page

registration page

register

two-way

Y

log in page

reset password page

forget the password

two-way

Y

front page

record page

Record

two-way

Y

front page

search page

search

two-way

Y

front page

my page

mine

two-way

Y

my page

reset password page

reset Password

unidirectional

Y

8. Personal summary

Summary...

9. References

[1] Introduction to Database System (Fourth Edition) [M]. Beijing: Higher Education Press, 2006:5

[2] Basic Course of UML Object-Oriented Design and Analysis [M]. Beijing: Tsinghua University Press, 2007.7

[3] Android application design [M]. Beijing: Tsinghua University Press, 2013.10

X. Appendix

Source address 1: Topskys/Android-TrackTable (github.com) https://github.com/Topskys/Android-TrackTable

Source address 2:

For learning reference only.

This small android project may have many deficiencies, I hope it can help everyone, thank you for watching!

If it is helpful to everyone, you might as well leave your likes , favorites (stars), follow, and support the blogger!

Guess you like

Origin blog.csdn.net/qq_58062502/article/details/124899630