About this app
The NFC_Ident app supposed to control the access and the attendance of a some facility. It is the conceptual project and has many potential ways to develop an extended functionality.
System is based on use of the mobile device with NFC capability(Samsung Grand Prime) and smart cards (NXP JCOP41/JCOP31, Mifare DESFire EV1, MifareUltralight). Cards can be used for different purposes and present system won't change anything on cards.
- After running the application, the splash interface is displayed for a short period of time, and then require an admin card to tap the back of the phone. The admin card can be any suitable card, and must be the first card which tap the back of the phone after installation. This card will be used always for opening the main interface like the password. All activities (Reader, Data and Log) begin from the Main activity and come back after the finish (Back Pressed button).
- It is necessary to create an items(demographic data in our case) and save it in the database. The Data interface is used for this purpose. In this particular implementation demographic data composed from the first name, last name, area and photo image. The first step is to tap the card on the back of the mobile device with NFC enabled. Then do photo(button Photo) and manually fill in text controls. If everything was successful, click button Save. Successfully created items will be saved on the SQLite DB. The message will confirm the creation of the item record.
In the case of the search(button Search) each record in the list is composed from the name with the last date when the card has been detected by the mobile device. To view details about the selected item, just press the Search button again. To clean the screen just touch the image. After the full record has been shown, the Update button will be activated and ready to update some item's text data. After the searched item has been edited click the Update button for save the data in the SQLite DB.
- After the DB has been filled in with records, the manual access control can be used with the Reader user interface. During the access property just tap the user's card to the back of the mobile device for a moment. The successful access control is by means of the appropriate card and the photo image must match the original. The Reader interface will constantly stay alert waiting for the card or until change of the activity. After the personal data has been shown successfully the date/time will be logged.
- To see the result of the system work(access & attendance), open the Log interface. It shows a list of items for the selected date. This interface has 2 action bar buttons:
The Date button - for selecting the date of the control(by default from the beginning will be used the current date)
The Week button - for showing the log days of the week for the selected record.
After press the button Week the interface will be change to weekly report and action bar buttons Next and Previous will be shown if available:
The Next button - for showing the log of next week days
The Previous button - for showing the log of previous week days
Also the Log UI has the button Share for sending log file of main list or weekly report. The button Search will help to find person by the last name
App Permissions
Allows applications to open network sockets.
Allows applications to access information about networks.
Allows an application to read from external storage.
Allows an application to write to external storage.
Required to be able to access the camera device.
Allows applications to perform I/O operations over NFC.
Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming.
Allows applications to access information about Wi-Fi networks.