Student Attendance Master
Student Attendance Master
Student Attendance Master
1 INTRODUCTION
1.1 Background
1.2 Objectives
1.3 Purpose, Scope and Overview
2 SURVEY OF TECHNOLOGIES
4 SYSTEM DESIGN
4.2 ER Diagram
5 SYSTEM TESTING
8 CONCLUSION
iNTRODUCTION
BACKGROUND
• Manual control
• Lots of paperwork
• Time consuming
PURPOSE
SCOPE
All the build files are visible at the top level under Gradle
Scripts and each app module contains the following folders:
You can also customize the view of the project files to focus on
specific aspects of your app development. For example,
selecting the Problems view of your project displays links to the
source files containing any recognized coding and syntax
errors, such as a missing XML element closing tag in a layout
file.
For expert level users of Java, programming for Android will not
be difficult. Let us understand how one can go about
developing an application using a step-by-step approach.
Existing system:
Proposed System:
To overcome the drawbacks of the existing system, the
proposed system has been evolved. This project aims to reduce
the paper work and saving time to generate accurate results
from the student’s attendance. The system provides with the
best user interface .The efficient reports can be generated by
using this proposed system.
Efficient reports
REQUIREMENT SPECIFICATION
User data should be fed into the system: this system is doing
that properly in user entity.
Admin can add the users: Admin can verify and add the user,
which is they are doing with this system.
Simplified forms:-
The form is made simple to fill with the clean user interface.
Hardware Requirements
System : IBM-Compatible PC
Processor : Pentium IV
Speed : 2.0 GHz
Memory : 256 MB RAM
Hard Disk Drive : 40 GB
Mobile Side : Android OS enabled smart phone
Software Requirements
CONCEPTUAL MODELS
BASIC MODULE
i. Login form:
ER DIAGRAM
USE CASE DIAGRAM
SEQUENCE TABLE
CLASS DIAGRAM
DATABASE TABLE
SYSTEM TESTING
UNIT TESTING
S.n Function Function Function Step Expected Actual Pass/Fail
o id name desc. result result
package com.android.attendance.activity;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.AdapterView;
import
android.widget.AdapterView.OnItemSelectedListener;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;
import android.widget.TextView;
import android.widget.Toast;
import com.android.attendance.bean.FacultyBean;
import
com.android.attendance.context.ApplicationContext;
import com.android.attendance.db.DBAdapter;
import com.example.androidattendancesystem.R;
Button login;
EditText username,password;
Spinner spinnerloginas;
String userrole;
private String[] userRoleString = new String[] { "admin",
"faculty"};
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.login);
login =(Button)findViewById(R.id.buttonlogin);
username=(EditText)findViewById(R.id.editTextusername);
password=(EditText)findViewById(R.id.editTextpassword);
spinnerloginas=(Spinner)findViewById(R.id.spinnerloginas);
spinnerloginas.setOnItemSelectedListener(new
OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView<?>
arg0, View view,
int arg2, long arg3) {
// TODO Auto-generated method stub
((TextView)
arg0.getChildAt(0)).setTextColor(Color.WHITE);
userrole =(String)
spinnerloginas.getSelectedItem();
@Override
public void onNothingSelected(AdapterView<?>
arg0) {
// TODO Auto-generated method stub
}
});
login.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
if(userrole.equals("admin"))
{
String user_name =
username.getText().toString();
String pass_word =
password.getText().toString();
if (TextUtils.isEmpty(user_name))
{
username.setError("Invalid User
Name");
}
else if(TextUtils.isEmpty(pass_word))
{
password.setError("enter
password");
}
else
{
if(user_name.equals("admin") &
pass_word.equals("admin123")){
Intent intent =new
Intent(LoginActivity.this,MenuActivity.class);
startActivity(intent);
Toast.makeText(getApplicationContext(), "Login
successful", Toast.LENGTH_SHORT).show();
}else{
else
{
String user_name =
username.getText().toString();
String pass_word =
password.getText().toString();
if (TextUtils.isEmpty(user_name))
{
username.setError("Invalid User
Name");
}
else if(TextUtils.isEmpty(pass_word))
{
password.setError("enter
password");
}
DBAdapter dbAdapter = new
DBAdapter(LoginActivity.this);
FacultyBean facultyBean =
dbAdapter.validateFaculty(user_name, pass_word);
if(facultyBean!=null)
{
Intent intent = new
Intent(LoginActivity.this,AddAttandanceSessionActivity.clas
s);
startActivity(intent);
((ApplicationContext)LoginActivity.this.getApplicationConte
xt()).setFacultyBean(facultyBean);
Toast.makeText(getApplicationContext(), "Login
successful", Toast.LENGTH_SHORT).show();
}
else
{
}
});
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar
if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
Main :
package com.android.attendance.activity;
import com.example.androidattendancesystem.R;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
Button start;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
start =(Button)findViewById(R.id.buttonstart);
start.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar
if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
}
ADVANTAGES AND LIMITATION
ADVANTAGES
LIMITATIONS
The drawbacks in Student Management System software can
be counted on fingers; with mostly only benefits, these systems
have a few countable downsides. Often, applications face minor
technical glitches and these systems are no exception but,
ratification is immediate. Only, people who are accustomed to
regular use of smartphones or computers can operate this
software. Extensive modules and features make it difficult for a
user to utilise the application. With huge flow in traffic the
application is prone to performance issues. Few companies
market their products at extravagant price, which are not
affordable by growing organizations. Absence of proper
internet-network makes it difficult for a user to access
information, which is a significant disadvantage. The risk of
data mishandling might be bothersome; but all these
drawbacks can be evaded by choosing proper, cost-efficient
and best software that best benefits an organization.
FUTURE ENHANCEMENT