A application for rollcall.
-
modified the database url in
config.properties
->url
-
create table named
reg
andrecord
. The table should be namedreg
store the roster of the class, and there are 3 fields named:uid
,sid
andname
means userID, studentID and studentName separately. The table namedrecord
is order to record those students who are deficient, there are also three fields names:time
,sid
andname
means recordTime, studentID and studentName separately.
- Firstly transform the roster to txt file, the file content format like this:
111111111111,张三
222222222222,李四
……
- Open the app, input the password: "input" and then the import page appear.
- Move the roster txt file to the path that same to the app. Input the roster txt file into the textfield and then press the button
导 入
. The success tip will appear if there is no error.
- Input the password: "call" in the homepage, then the roll-call page will appear.
- This page has 4 main components: startBtn, stopBtn, recordBtn and displayLabel. Press "开 始", the timer then start, and the displayLabel will show the studentID and studentName one by one. Press "停 止", the timer will stop and the displayLabel will only show one student info. Press "记 录", the student info in the displayLabel will record to database.
This page would appear while inputing the password "result". It shows the info who was recorded.
If you want to delete someone's info, you can input the info and then press the button "删除".