Report On Mobile Applocation Development

Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 39

A

15CS390L – INDUSTRIAL TRAINING


REPORT
On

MOBILE APPLICATION
DEVELOPMENT

Submitted in partial fulfilment of

Degree of Bachelor of Technology in Computer Science & Engineering

Submitted By

SNEHIT SHARMA Reg. No:


RA1711003040027

Department of Computer Science & Engineering


SRM Institute Of Science & Technology, Vadapalani
Campus
Chennai-600026
OCTOBER 2019
DECLARATION

I hereby declare that the Industrial Training Report entitled “MOBILE APPLICATION
DEVELOPMENT” is an authentic record of my own work as requirements of Industrial
Training during the period from 06.06.2019 to 20.06.2019 for the award of degree of
B.Tech (Computer Science & Engineering), SRM Institute of Science and Technology,
Vadapalani Campus, Chennai, during the academic year 2018-19.

Name of Student : SNEHIT SHARMA

Register Number : RA1711003040027

(Signature of
student)

Internal Examiner Head of the


(Mr. Manohar) Department of
CSE
SRM Institute of Science and Technology
Date: ____________________

CERTIFICATE
ACKNOWLEDGEMENT

I want to thank IdeaGigs, Chennai for providing me with an opportunity to do a


project as a part of my training program in their organization. I wish to thank all my
guides over there for helping me build the Web App and complete the project by
providing me with valuable inputs and suggestions during my work over there.

I place my deep sense of gratitude to our beloved chancellor of SRM Institute of


Science and Technology for providing us with the requisite infrastructure throughout the
course.

I take the opportunity to extend my heartfelt thanks for the support of our
respected Dean Dr. K. Duraivelu B.E., M.B.A., M.E., Ph.D., for his impeccable
guidance.

I would like to thank the Head of Department of CSE, SRM Institute of Science
and Technology, Vadapalani, Dr. Prasanna Devi B.E., M.E., Ph.D., PGDHRM.,
PDF(IISc), for the constant encouragement and support she gave to take up innovative
projects and training courses.

I wish to extend my gratitude to Mr. Manohar, B.E, M.E, Asst. Professor, CSE, for
his constant advice on the various course-related issues.
Sl. No. Table of Contents Pg. No.

Abstract
·0 Introduction 6
·1 System Study
7
·2 Software Requirements Specification 8
1. Introduction 9
·3 Document Conventions 9
·4 Intended Audience and Reading Suggestions
10
·5 Product Scope
10
System Study
·6 Product Perspective 11
·7 Product Functions 12
·8 User Classes and Characteristics 12
·9 Operating Environment 13
·10 Design and Implementation Constraints 13
·11 User Documentation 13
·12 Assumptions and Dependencies 13
·13 User Interfaces 14
·14 Hardware Interfaces 14
·15 Software Interfaces 14
·16 Communications Interfaces 14
3.5 System Features 14
3.6.Authentication 15
·17 System Resource Consumption 15
3.8 Safety Requirements 15
·18 Security Requirements
15
·19 Software Quality Attributes 15
4. Project Design
5. Detailed Design
·20 Implementation Snapshots 18
·21 Project Implementation 27
·22 Conclusion 28
·23 Future Scope 29
References 30
Abstract

The era of mobile technology opens the windows to the android app.The websites are
vanishing and the mobile phones are emerging. It’s the time to change from conventional
websites to apps, which has become the part of our daily routine.we are introducing
GovernmentOfficerRating.apk‟ the android application software which would be a
miniature of our Police department. It works not only as a website,but also it can work as
a small Management software. Our multipurpose program is considering the user as
either an albertian or non-albertian, student or Civilians or office staffs individually.
project gives a total solution. The application gives us more comfort and a better user
interface.It acts as an overview about the Officers in the Government job.theThe officers
rating, Profile, Achievements, medals etc are updated in the Application. Latest news and
updates about Officers is got through notifications .Individual account can be created for
Anyone. It provides a Official identity of the officer by admission code when u create an
account. Students can share ideas about mini projects.Group discussions.Department
organizations can invite or make publicity to their events .Admission forms for Trainings
can be taken print. It is also useful for the College to communicate with the Officers
.Students can interact with Officers directly. Latest news and updates about Officers is
got through notifications. The android app is also a navigator:The application gathers
your current location and shows the exact minimal route to the technical campus
accessing the GPS.

Chapter 1
Introduction

The era of mobile technology opens the windows to the android app.The websites are
vanishing and the mobile phones are emerging. It’s the time to change from conventional
websites to apps, which has become the part of our daily routine.we are introducing
GovernmentOfficerRating.apk‟ the android application software which would be a
miniature of our Police department. It works not only as a website,but also it can work as
a small Management software. Our multipurpose program is considering the user as
either an albertian or non-albertian, student or Civilians or office staffs individually.
project gives a total solution. The application gives us more comfort and a better user
interface.It acts as an overview about the Officers in the Government job.theThe officers
rating, Profile, Achievements, medals etc are updated in the Application. Latest news and
updates about Officers is got through notifications .Individual account can be created for
Anyone. It provides a Official identity of the officer by admission code when u create an
account. Students can share ideas about mini projects.Group discussions.Department
organizations can invite or make publicity to their events .Admission forms for Trainings
can be taken print. It is also useful for the College to communicate with the Officers
.Students can interact with Officers directly. Latest news and updates about Officers is
got through notifications. The android app is also a navigator:The application gathers
your current location and shows the exact minimal route to the technical campus
accessing the GPS.
Chapter 2
System Study

The App contain following features

·24 Authentication

·25 Notification

·26 Location

1.Authentication

1.1 Description and Priority

This feature will give the user a secure and simple login screen. The login is enabled for
the administrator use only and is not accessible to any other than the college
administrator. It has only limited and handful of input capability of limited number of
administrator in the college. Any student cannot enter the routine settings and hamper the
system.

1.2 Stimulus/Response Sequences

It will consist of two basic fields, Username and Password. A message is boldly
displayed at the screed defining the login is for the administrators only. There is a button
Login for submitting the entered username and password. On successful entry the user
will be provided with the administrator control page to control all the settings of the
database and on unsuccessful login the user is directed again to the same login page with
an error message.
1.3 Functional Requirements

The most important function of the login page is to provide access only to the registered
college administrators. The college must provide the users for the post of administrators
and those who will be modifying the routine.
REQ-1: Providing the users to be listed as the administrators.

REQ-2: Correct username and password to enter into the administrator controls.

2 .Notification

2.1 Description and Priority

This feature will give the user real time update notification. The notification is enabled
for the abertians . Any student can get updated notifications as they are the obsolete users
of the application.

2.2 Stimulus/Response Sequences

Only the albertians can get updated notifications. Non albertians are only provided with
basic information about college campus and admissions

2.3 Functional Requirements

The most important function of the notification is to provide important events and special
occasions that are coming later

3. Location

3.1 Description and Priority

The application provides Location service. An outsider can access the college by location
.
3.2 Stimulus/Response Sequences

Application is connected to the Gmap,so the application connect to the Gmap for route
service.

3.3 Functional Requirements

This application requires an android smartphone with pre-loaded or online Gmap for the
location service

2.1 Existing Systems

The college information and notifications are currently viewed through only official
website.It is difficult to check the notifications through mobile phones and the
notifactions can only get by accessing the website.

2.2 Proposed System

The proposed system software which would be a miniature of our college website.The
information and notification can be easily accessed by one touch on the android
application. The application provides a live notification for the students as well as other
people who sets the notification ON.This application provide a GPS based system which
helps to route the location of the college.
Chapter 3
Software Requirements Specification

INTRODUCTION
3.1 Purpose
The purpose of this document is to present a detailed description of the android
application aisat.apk. It will explain the imporrtance and features of the application, the
interfaces of the application, what the application will do, the constraints under which it
must operate .

6.2 Intended Audience and Reading Suggestions


This document is intended for students, developers, project manager, users, testers,
documentation writers etc.

This document is organized as follows:

·27 Section 1: Introduction (this section)


Provides a brief introduction to this document, the purpose, document conventions,
intended audience, reading suggestions, product scope, and references.

·28 Section 2: Overall Description

Provides brief general descriptions of the product and its functions, user classes
and characteristics, operating environments, design and implementation constraints,
assumptions and dependencies.

·29 Section 3: External Interface Requirements

Provides the detailed information regarding user interfaces, hardware interfaces,


software interfaces and communication interfaces.

·30 Section 4: System Features

Provides the detailed description of various features of the system.

·31 Section 5: Other Nonfunctional requirements

Provides information regarding performance requirements, safety requirements,


security requirements, software quality attributes and business rules.

·32 Section 6: Other Requirements

Provides other requirements that are not included in the above sections.

6.4 Product Scope


This android application will be a substitute for the official website of aisat. This
application will be designed to maximize the ease of use of official website of aisat in
mobile view.
Specifically, the application is designed to communicate and to notify the updates from
the college website. The system also contains a relational database containing a list of
albertians .The application will facilitate communication between students and the
faculties via database. Application forms for different collage activities is provided from
the application.
7. OVERALL DESCRIPTION
7.1 Product Perspective
The Aisatinfo.apk application will be a new Android based online application. It will be
implemented with eclipse and SDK manager.

7.2 Product Functions


The product should have an easy to use main menu, from which the rest of the features or
functions can be accessed. These main features as listed are: basic viewing and account
login.

7.3 User Classes and Characteristics


Our application hopes to draw on three main user groups. The students almost all of them
have smartphones. About half of those smartphones are Android, and more than half of
those Android phones are fit to run Aisatinfo.apk. These users are obsessed with social
media, and almost all of them actively uses at least one of the following: Facebook,
Twitter, Instagram, Snapchat.
The application will be helpful to parents, prospective students, professionals, recruiters,
or speakers those are not familiar with many of the campus landmarks and buildings.
Members of this group may be interested in learning more about campus history, or may
need to navigate from one location to another on campus.
The group that is probably going to be using the app most, and thus the most
important group, is the students.

7.4 Operating Environment


The application will only be available for the Android operating systems. The
application shall only be used with compatible android devices The user shall use this
application on Android OS 2.2(API 8) or any later versions of the Android OS. The
following diagram shows how the application shall interact with the eclipse API and
cloud database.

7.5 Design and Implementation Constraints

Implementation language restrictions

The programming language shall be Java for the main application.

The programming language shall be SQL for the cloud targets


database. Resource limits
The users‟ device shall have a working data plan or wifi connection.

The users‟ device shall have sufficient memory storage to install the application.

The users‟ device shall have sufficient battery life to run the application.

7.6 User Documentation


Tutorial

The user shall be able to see a tutorial the first time they start the application

The tutorial will be a series of splash screens that illustrates how to use each feature

This tutorial will not automatically show more than one time

There will always be a “help” button available in the menu if user needs revisit the
tutorial.

Online Help

There shall be contact information posted in “about” page

The user shall be able to contact the developers regarding any issues they encounter.

7.7 Assumptions and Dependencies


Dependencies

The application shall be used with the assumption that the Android
API and licensing agreement remains the same. Software Component
Dependencies
The application shall be used with the assumption that the built in camera
application operates correctly
The application shall be used with the assumption that the device‟s
network interface card and driver are operating correctly

8. EXTERNAL INTERFACE REQUIREMENTS


8.1 User Interfaces

The interface will meet the following requirements to conform to the users‟ needs:

It will be simple and easy to understand. Controls which allow the user to interact with
the application will be clear and imply their functionality within the application.
The interface will include user inputs as well as two graphics, outlined below. The
graphics displayed to the user will provide a visual representation of the output produced.

3.1.1 User Inputs

The user will be able to control the sentiment analysis of topics in two ways: first, by
adding, editing, or removing keywords for each topic, and second by specifying the
duration of each analysis session.

3.1.2 navigator - The application gathers your current location and shows the exact
minimal route to the AISAT technical campus accessing the GPS system.

3.1.3 Albertian calender which shows all the events on the corresponding dates. It also
provides a platform to add our additional may be personal events under the privacy.

3.2 Hardware Interfaces

The application is intended to be a stand-alone, single-user system. The application will


run on an Android mobile device or an Android emulator. No further hardware devices or
interfaces will be required.

8.2 Software Interfaces

The software will run on the Android operating system, specifically version 2.3
(Gingerbread) and above.

3.4 Communications Interfaces


The application shall communicate with the various databases and software services via
API function calls. Because the application will be written in Java, Java functions will
make these calls to the APIs. The exact formats and protocols for incoming and outgoing
messages should be abstracted by the APIs .

10. OTHER NONFUNCTIONAL REQUIREMENTS


10.1 Performance Requirements
5.1.1 Real-Time

The application will provide up-to-date information. It should display the latest results at
all times, and if it lags behind, the user should be notified.

5.1.2 System Resource Consumption

Resource consumption of this application should not reach an amount that renders the
mobile device unusable. The application should be capable of operating in the
background should the user wish to utilize other applications.

10.2 Safety Requirements


·33 User needs to sign in with their account to prove their identity(albertian) before
using.

·34 User shall not use our application while driving or biking.
10.3 Security Requirements
The security system features from having a login for all the users to access the
application‟s full features. The login details will be used in the system also. So the
chances of the application getting intruded are very less.
·35 Login Requirements

·36 Password requirements.


·37 Inactivity timeout.

10.4 Software Quality Attributes


10.4.1 Reliability

The application will meet all of the functional requirements without any unexpected
behavior. At no time should the gauge output display incorrect or outdated information
without alerting the user to potential errors.

10.4.2 Availability

The application will be available at all times on the user‟s Android device, as long as the
device is in proper working order. The functionality of the application will depend on any
external services such as internet access that are required. If those services are
unavailable, the user should be alerted.

10.4.3 Security
The software should never disclose any personal information of any users, and should
collect no personal information from its own users.
Chapter 4
Project Design
Fig4.1 Class diagram
Chapter 5
Detailed Design

The application is divided into 3 modules

Module 1

In the module first process is login. In the login process the user can input his unique
user name and password if he have already got an account,else the user should sign up by
inputting his name password,email id, mobile number, branch and batch. Thus the user
can login to his account with his allocated username and password. The signed in users
can access the college calendar and news& events of the college.

Module 2

Also other users can simply get an overview about the college without signing in . They
can get an overview about the college by accessing informations about the college,
location using gps ,courses provided , gallery, facilities, departments etc. The facilities
from which the guest users are exempted are college calendar and news & events.

Module 3

The signed in users have access to special features in the application i.e. „college
calendar‟ and „news & events‟ college calendar provides the special days of our college
and important days to be noticed.Information about news and events conducted and to be
carried out are listed in news and events. They will also receive notifications about the
events that are to happen in the college on corresponding days from the college calendar.

Chapter 6
IMPLEMENTATION SNAPSHOTS
Fig 5.1 HomePage Of App Fig 5.2 Login
Overview
Fig 5.3 Next Page of app Fig 5.4 Rating Officer
Fig 5.5 Location tracer

CHAPTER 7
PROJECT IMPLEMENTATION

JAVA CODE:
package com.example.governmentofficerrating;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class Login extends Activity {

LoginDataBaseAdapter loginDataBaseAdapter;
Button login;
Button registerr;
EditText enterusername, enterpassword;

private SharedPreferences prefs;


private String prefName = "report";

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.activity_login);

login = (Button) findViewById(R.id.login_btn);


registerr = (Button) findViewById(R.id.register_btn);
enterusername = (EditText) findViewById(R.id.username_edt);
enterpassword = (EditText) findViewById(R.id.password_edt);
loginDataBaseAdapter = new
LoginDataBaseAdapter(getApplicationContext());
loginDataBaseAdapter.open();

registerr.setOnClickListener(new OnClickListener() {

@Override
public void onClick(View v) {
// TODO Auto-generated method stub

Intent i = new Intent(Login.this, Registration.class);


startActivity(i);

}
});

login.setOnClickListener(new OnClickListener() {

@Override
public void onClick(View v) {
// TODO Auto-generated method stub
String username = enterusername.getText().toString();
String Password = enterpassword.getText().toString();

String storedPassword = loginDataBaseAdapter.getSinlgeEntry(


username, Password);

if (Password.equals(storedPassword)) {
prefs = getSharedPreferences(prefName,
MODE_PRIVATE);
SharedPreferences.Editor editor = prefs.edit();
editor.putString("name", username);
editor.commit();
Toast.makeText(Login.this, "Congrats: Login
Successfully",
Toast.LENGTH_LONG).show();
Intent ii = new Intent(Login.this,
ListOfGovernmentOffice.class);
startActivity(ii);
} else if (Password.equals("")) {
Toast.makeText(Login.this, "Please Enter Your
Password",
Toast.LENGTH_LONG).show();
} else {
Toast.makeText(Login.this, "Password Incorrect",
Toast.LENGTH_LONG).show();
}
}
});

@Override
protected void onDestroy() {
super.onDestroy();
// Close The Database
loginDataBaseAdapter.close();
}

}
}
JAVA CODE 2 ACTIVITY:
package com.example.governmentofficerrating;

import android.os.Bundle;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.RatingBar;
import android.widget.TextView;
import android.widget.Toast;

public class RatingEmployee extends Activity {

TextView emplyee_detail_show;

RatingBar employee_ratingbar;

Button click_to_rate;

@Override
protected void onCreate(Bundle savedInstanceState) {
requestWindowFeature(Window.FEATURE_NO_TITLE);
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_rating_employee);
emplyee_detail_show = (TextView) findViewById(R.id.employeedetailget);

employee_ratingbar = (RatingBar) findViewById(R.id.employeerating);

click_to_rate = (Button) findViewById(R.id.clicktorate);

Intent get_empname = getIntent();

String emp_getname = get_empname.getStringExtra("empname");

emplyee_detail_show.setText(emp_getname);

click_to_rate.setOnClickListener(new OnClickListener() {

@SuppressLint("NewApi")
@Override
public void onClick(View arg0) {
// TODO Auto-generated method stub

String rates = String.valueOf(employee_ratingbar.getRating());

if (rates.equals("0.0")) {
Toast.makeText(getApplicationContext(),
"Please give some rating",
Toast.LENGTH_LONG)
.show();

} else {

Toast toast = new Toast(RatingEmployee.this);


toast.setDuration(Toast.LENGTH_LONG);
toast.setGravity(Gravity.CENTER, 0, 0);
// toast.setText("Rating for the Employee is " + rates
// + "\n Thanks for your Rating..!");
LayoutInflater inflater = getLayoutInflater();
View appearance =
inflater.inflate(R.layout.thankyou_image,
(ViewGroup) findViewById(R.id.root));

toast.setView(appearance);
toast.show();

Toast.makeText(getApplicationContext(),
"Rating for the Employee is " + rates,
Toast.LENGTH_LONG).show();

finishAffinity();

}
});

XML CODE:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#EDBF09"
tools:context=".Login" >

<RelativeLayout
android:id="@+id/rel1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_marginTop="60dp" >

<EditText
android:id="@+id/username_edt"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_alignParentRight="true"
android:layout_marginTop="50dp"
android:background="@drawable/background_round_corner_edittext"
android:ems="10"
android:gravity="center"
android:hint="Enter Username"
android:padding="10dp"
android:drawableRight="@drawable/user" >

<requestFocus />
</EditText>

<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:text="Log in"
android:textStyle="bold"
android:fontFamily="@style/AppBaseTheme"
android:textAppearance="?android:attr/textAppearanceLarge" />

</RelativeLayout>

<RelativeLayout
android:id="@+id/rel2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/rel1"
android:layout_marginLeft="30dp"
android:layout_marginRight="30dp"
android:layout_marginTop="10dp" >

<EditText
android:id="@+id/password_edt"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_alignParentRight="true"
android:layout_marginTop="30dp"
android:background="@drawable/background_round_corner_edittext"
android:ems="10"
android:gravity="center"
android:hint="Password"
android:inputType="textPassword"
android:padding="10dp"
android:drawableRight="@drawable/pass" >

<requestFocus />
</EditText>
</RelativeLayout>
<ImageView
android:id="@+id/imageView1"
android:layout_gravity="center_horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/lion" />
</LinearLayout>

Chapter 7
Conclusion

The era of mobile technology opens the windows to the android app . The websites are
vanishing and the smart phones are emerging .It is time to change from conventional
websites to apps which has become the part of our daily routine. By introducing
GovernmentOfficersRating.apk‟ the android application software which would be a
miniature of our Modern website.It works not only as a website,but also it can work
as a small Office Management software. This project is a small step towards
government Works and the officers ratings. We hope and plan for best implementation
to make this app even better and to provide the people a comfortable application.
Eclipse is an integrated development environment (IDE) for Java and other
programming languages like C, C++, PHP, and Ruby etc. Development environment
provided by Eclipse includes the Eclipse Java development tools (JDT) for Java,
Eclipse CDT for C/C++ and Eclipse PDT for PHP, among others. He Eclipse platform
which provides the foundation for the Eclipse IDE is composed of plug-ins and is
designed to be extensible using additional plug-ins. Developed using Java; the Eclipse
platform can be used to develop rich client applications, integrated development
environments and other tools.

Chapter 8
Future Scope

Currently the Android application works as an offline application which only allows
access data from the application .Future the application will be working as online
application which includes the features like bus tracking system ,which allows the
parents to track the bus and this feature is very helpfull as it emphasis on security .The
college management can also utilise this feature for better college bus service. The
registered Albertian user would be provided a chat on facility for communication.
Application also integrate advanced students teachers communication for better
utilisation of the application .Parents teachers communication may also be developed.
Attendance percentage calculator can be introduced. Assignments can be submitted
through online, and mailed etc .Online Library system can be introduced.

References

·38 http://www.vogella.com/tutorials/AndroidSQLite/article.html
·39 http://www.tutorialspoint.com/android/android_sqlite_database.html
·40 http://www.androidhive.info/2011/11/android-sqlite-database-tutorial/
·41 http://www.androidhive.info/2012/07/android-gps-location-manager-tutorial/
·42 https://developer.android.com/training/index.html
·43 https://eclipse.org/

You might also like