Post on 24-Oct-2014
description
Department of Computer Science & Engineering
Smart Complaint Register for
Government Bodies
Under Guidance of
Mrs. Aruna Reddy
Lecturer, Department Of CS & E
BY
Mohammed Nasar-1VI07CS031
Siddharth Kumar-1VI08CS68
Shashi Shekhar-1VI08CS065
Ankit Kumar-1VI08CS091
1
Department of Computer Science & Engineering
Contents:
Introductiom
Existing and Proposed system
Hardware & Software Requirements
Analysis
Flow diagram
Implementaion
2
INTRODUCTION
In India most of the Complaint registrations for government
bodies i.e.: BWSSB, KPTCL, etc are offline i.e filling a form,
writing the details of problem and address for which we have to
travel to offices or make calls which is tedious.
A mechanism to accept complaints from citizens 24 × 7 would be
the expectation from both the citizens and the government bodies.
With number of people using mobile phones is increasing, it has
become a need for users to provide application on their mobiles, all
facilities one is been utilizing on the internet.
Department of Computer Science & Engineering 3
Introduction(cont...)
In this project the user can take a snap shot of the particular
activity i.e.: water leakage, power cable hanging around, tree fall,
unsocial activity etc.
The application will augment the current position where the
picture is taken. The above augmented picture is sent to the
concerned authority.
The priority of the complaint would be raised if the numbers of
them are considerably more in an area.
Department of Computer Science & Engineering 4
EXISTING SYSTEM
The chief modes of registering complaint is
(a) A visit to the ward office –person in charge listens to the
complaint and asks for some personal details and put it across
into an electronic form for other departments
(b)Through a contact center over a telephone - where the
complaint is registered by an call center agent by typing the
complaint into the system and more recently
(c) Through a web portal.
Department of Computer Science & Engineering 5
Department of Computer Science & Engineering
User can take a snap shot of the activity i.e.: water leakage.
The application will augment the current position of picture taken.
The priority of the complaint would be raised if the numbers of them
are considerably more in an area..
PROPOSED SYSTEM
6
PROPOSED SYSTEM(cont..)
The map of city is drawn; here it is colored with red, yellow or green flags
respectively ward wise, depending upon the no. of complaints received in and
area.
Statistical information is maintained such as the no. of complaints received
ward wise, no. of them solved.
The pictures are also displayed to the general public on a discussion forum,
where they can post their comments.
Department of Computer Science & Engineering 7
HARDWARE AND SOFTWARE
REQUIREMENTS Hardware Requirements Mobile which has below features
1.GPS
2.GPRS
3.Android 1.5 or higher
Software Requirements 1.Android Google Api 1.5 or higher
2.Android Development Tool plugin
3.Eclipse 3.4 or higher
4.Sun JDK 5 or higher
5.VS 2008
6.SQL Server 2000 or above
Department of Computer Science & Engineering 8
ANALYSIS FUNCTIONAL REQUIREMENTS
Technical Requirements Client is on android platform buit using android devlopment kit
integrated with eclipse 3.5 or higher sun jdk 5 or higher, written in java
language.
Server side is written in dotnet language using visual studio 2008
integrated with sql server 2000. Visual studio is used to create homepage
containing login for admin and user.
SQL server contains the queries and table for maintaing database
Department of Computer Science & Engineering 9
FUNCTIONAL REQUIREMENTS(contd...)
Interface requiremets
Complaints are categorywise and in chronological order with a unique 36
charachter complaint ID & mobile number.
Description of complaint is limited to 160 characters.
If user fail to fill any of the required specification on client, error is genrated.
For augmenting position GPS of phone is used. For linking GPS to project we
need to obtain the secret key from Code.google.com by regestring ourself with
MAP ADT.
This gives us facility to get exact loacation by calculating longitude and
latitude.
Department of Computer Science & Engineering 10
FUNCTIONAL REQUIREMENTS(contd...)
Behaviour This numeric values of GPS are sent to server using REST service. On
Server,google Map is drawn and position is displayed using flags.
To avoid duplicate complaints and redundancy minimum 25 meter
difference is maintained and complaint must be made in 5 minutes gap.
Here image manipulation is important as we use different megapixel
camera devices which may create error while sending and require high
bandwidth sometime. Application crop and convert the image in base 64
format.
Department of Computer Science & Engineering 11
FUNCTIONAL REQUIREMENTS(contd...)
Security requirements
Members of client side or third party can see details on website but
cannot modify only add comments.
Members of category admin can only update the status but cannot
delete the entry.
Memebers of administrators group can delete entry on database.
The server domain is bought from the “nettgritty” domain provider,
which has also provide us with response SMS sent to the client.
Department of Computer Science & Engineering
12
NON FUNCTIONAL REQUIREMENTS
Scalability: Functional Scalability: we can enhance the system by adding hospital
services etc.
Rural schools and colleges are provided with Akash Tablets which
has android os, so number of user increases.
Adminstrative scalability: It can be applied to all government bodies
every individual body can do category admin login and update status.
Reliability: The client application can work on any android phone its compatible
to all versions of it and with minimum hardware requirements.
Department of Computer Science & Engineering 13
NON FUNCTIONAL REQUIREMENTS(contd...)
Client requires 64kb/s 2G databandwidth for sending the data. Failure
rate are possible in augumenting the longitude and latitude if GPS is not
conneted
.
Usability: Complaint can be written in natural language. Symbol of government
body name given as option. Turns on camera automatically no need to
turn on camera seprately.
Security: Autentication: for everytime a complaint is requested user mobile
number is sent and displayed so no fake complaint is possible.
Department of Computer Science & Engineering 14
NON FUNCTIONAL REQUIREMENTS(contd...)
Maintainability:
APIs are open so modification can be done on client as well on server
part.
Changing the sim card or changing the device wont create ambiguity as
phone send only own user number.
Portability: Portability possible for android phone but not for any os phone like
symbian, bada or meego as their APIs are not open to third party.
Reusability: Same code can be used in hospital management , PF office, Passport
Office. Department of Computer Science & Engineering
15
Department of Computer Science & Engineering
START
Display the Home Activity with Buttons for each category
If Button clicked is for one of the category? [BWSSB,BESCOM,TRAFFIC, POLICE,BBMP]
Display Complaint Activity by passing category name which user has selected [Take picture, Remark, Register ]
Y
N
Exit Button clicked Close the Application
Get Handle of Location Manager
Find out Location Providers available on device
A
FLOW DIAGRAM
16
Department of Computer Science & Engineering
If GPS Provider avaialable?
Use GPS Provider
Y
Type the Remark
If Take Picture Button Clicked
1) Device camera is accessed to take the picture
2) encode the Image(Base64 Format)
Y
Request Location Manager about the location updates for every 5 mins for minimum distance as 25m.
N
N
Display toast C
C
C
If Network Provider avaialable?
Use Network Provider
Y
N
17
Department of Computer Science & Engineering
Get latitude and longitude, date & time
Send the following Data to the server via HTTP
1)Mobile number 2)Lat & Long 3)Date & time
4)Category 5)Priority 6)Image
Once the Register Button is clicked, Display dialog with options 1) High 2) low 3) medium priorities
Rest Client is used to communicate between Client and server
Web page Login can be done by user or Admin
Category wise status of the complaint can be checked
A 18
Department of Computer Science & Engineering
SMART COMPLAINT CLIENT
Main Activity
Attributes Private Button bwwsbB
Private Button bescomB
Private Button policeB
Private Button trafficB
Private Button bbmpB
Private Button exitB
Operations Public void onCreate(Bundled
Saved Instance
Public void onClick(view v)
Upload Service
Attributes Private string remark
Private int priority
Private double longi
Private double latti
Private string imageName
Private string number
Private int category
Private Handler
uiHandler=new Handler()
Private Runnable runner=new
Runnable()
Operations Public Binder onBind(Intent
arg[])
Public void onStart(intent
intent int started)
Private String Create xml()
MODULES
Complaint Activity
Attributes public class
private Button pictureB,
registerB;
private EditText remarksE;
private ImageView iv;
private Location
currentLocation = null;
private LocationManager
locationManager;
private int category;
private String
LOCATION_PROVIDER =
null;
protected LocationListener
listener;
private String
mPhoneNumber;
private int priority;
private boolean isPicTaken
19
SMART COMPLAINT SERVER
Smartcomplaintweb Smart
complaintservices
Attributes Imagesampler.cs
IsmartComplaint.cs
SmartComplaint.cs
Web.config
SmartcomplaintDAC
Attributes
Department of Computer Science & Engineering 20
THANK YOU
Department of Computer Science & Engineering 21