You are on page 1of 21

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

Department of Computer Science & Engineering

Contents:
Introductiom

Existing and Proposed system


Hardware & Software Requirements

Analysis
Flow diagram

Implementaion

Department of Computer Science & Engineering

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

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

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

PROPOSED SYSTEM
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..

Department of Computer Science & Engineering

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

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

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.

12 Department of Computer Science & Engineering

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.
14

Department of Computer Science & Engineering

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

FLOW DIAGRAM
START A Display the Home Activity with Buttons for each category

If Button clicked is for one of the category? [BWSSB,BESCOM,TRAFF IC, POLICE,BBMP]

Exit Button clicked Close the Application N

Y
Display Complaint Activity by passing category name which user has selected [Take picture, Remark, Register ]

Get Handle of Location Manager

Find out Location Providers available on device

Department of Computer Science & Engineering

16

Y Use Network Provider If Network Provider avaialable? N Use GPS Provider Y If GPS Provider avaialable?

Request Location Manager about the location updates for every 5 mins for minimum distance as 25m.

If Take Picture Button Clicked

1) Device camera is accessed to take the picture 2) encode the Image(Base64 Format)

Type the Remark

N Display toast C

Department of Computer Science & Engineering

17

Once the Register Button is clicked, Display dialog with options 1) High 2) low 3) medium priorities

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

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 Department of Computer Science & Engineering

18

MODULES
SMART COMPLAINT CLIENT 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 Department of Computer Science & Engineering

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()

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)

Operations
Public Binder onBind(Intent arg[]) Public void onStart(intent intent int started) Private String Create xml() 19

SMART COMPLAINT SERVER SmartcomplaintDAC Attributes


Smart complaintservices

Smartcomplaintweb

Attributes
Imagesampler.cs IsmartComplaint.cs SmartComplaint.cs Web.config

Department of Computer Science & Engineering

20

THANK YOU

Department of Computer Science & Engineering

21

You might also like