women safety app

27
Women safety application by using android

Upload: gurava-reddy

Post on 29-Dec-2015

235 views

Category:

Documents


19 download

TRANSCRIPT

Page 1: Women Safety App

Women safety application by using android

Page 2: Women Safety App

ABSTRACT:

In today’s time when you are

seeing so many crimes that is taking

place in our surrounding as well as in

our nations and that has become

biggest threat to us as well as our

families, then in such situation safety

becomes the major concern for all of

us. However, can you image that just

a small app on your mobile phone that

you carry almost everywhere along

with you can save to from some of the

major risk to your life and at the same

it can keep your parents or guardians

well informed about the location

where are you located.

Yes, you are reading it right.

Just a simple app can become a

companion of yours when you are out

of your home or travelling alone to

some place. The app is being getting

referred by the name “Self Care –

Carry Your Companion”

This app carries various

features and acts as a very powerful

alarm that works 24 X 7 to keep you

safe. I wish in your life you never face

such situation where you have take

help of this app, but if in case you

come across such situation just a

single tap on the red button of the app

will inform your guardians about your

location as well as a text that will

make them aware that you might need

some help on urgent basis.

Here are various features of

Self Care and its working:

SOS Alarm

Hospitals

Police Station

My Location

Page 3: Women Safety App

The SOS Alarm:

You can activate the safety

alarm with just a single tap on the

pink button and it will help you to

send a safety network to your

guardians. One can select the number

of guardian as per his choice.

However, it is also important that you

should add 100 as the Call-guardian.

The alarm alerts all the guardians at

the same time with call to one

guardian and message to all other

added in the group.

Find Hospital:

If you have got stuck in any

difficult situation where you need

urgent medical facility and don’t

know the nearby hospitals then you

can take the help of the Hospital

features available on this app to find

the nearest hospital to get the first aid.

This helps you to get the name as well

as way to reach the nearest hospital at

any new place.

Find Police Station:

This is also a great app to find the

nearest police station from where you

can take help in an unfavorable or

emergency situation.

My Location:

If you don’t want to disclose your

location to all your friends except the

selected friends from your facebook

account then with the use of “Self

Care – Carry Your Companion” you

can check in at the location privately

with selected group of friends with

single tap. It is an excellent app when

you want to check in at any specific

location along with group of friends

and family.

Page 4: Women Safety App

INTRODUCTION TO ANDROID:

In recent years, an open-source

platform Android has been widely

used in Smartphone’s. Android has a

complete software package consisting

of an operating system, middleware

layer, and core applications. Different

from other existing platforms like iOS

(iPhone OS), it comes with Software

Development Kit (SDK), which

provides essential tools and

Application Programming Interfaces

(APIs) for developers to build new

applications for Android platform in

Java. And also Android platform has

support for Bluetooth network stack,

which allows Bluetooth-enabled

devices to communicate wirelessly

with each other in a short distance. In

this paper, it aims to develop a

Bluetooth-based application for the

proposed home lighting control

system using an open-source Android

Development Tools (ADT), Android

SDK (Software Development Kit) and

Java Development Kit (JDK).

WHAT IS ANDROID?

Android: In Brief, Android is an

operating Platform for mobile devices

such as smart phones and tablet

computers.Now they are not used just

for making calls but they have

innumerable uses and can be used as a

Camera , Music player, Tablet PC,

T.V. , Web browser etc. And with the

new technologies, new software and

operating systems are required. It is

developed by the Open Handset

Alliance led by Google.

The Android Platform is a

software stack for mobile devices

including an operating system, middle

ware and key applications.

Developers can create applications for

the platform using the android SDK.

Applications are written using the

java programming language and run

on dalvik, a custom virtual machine

designed for embedded use which

runs on top of a Linux Kernel.

The application is sophisticatedly

designed for Android – based devices.

Page 5: Women Safety App

This allows the Android based

devices/phone to chat without using

Service Provider Connection. This

Application uses Bluetooth API of

Android Framework to communicate

with the other blue-tooth based

devices.

This Blue-Tooth Application

also allows Users who can exchange

two way text, icons and images. Users

can also archive the entire text being

used in chatting. Android is a

software stack for mobile devices that

includes an operating system,

middleware and key applications. The

Android SDK provides the tools and

APIs necessary to begin developing

applications on the Android platform

using the Java programming

language.

Operating Systems have

developed a lot in last 15 years.

Starting from black and white phones

to recent smart phones or mini

computers, mobile OS has come far

away. Especially for smart phones,

Mobile OS has greatly evolved from

Palm OS in 1996 to Windows pocket

PC in 2000 then to Blackberry OS and

Android. One of the most widely used

mobile OS these days

is ANDROID. Android does a

software bunch comprise not only

operating system but also middleware

and key applications. Android Inc.

was founded in Palo Alto of

California, U.S. by Andy Rubin, Rich

miner, Nick sears and Chris White in

2003. Later Android Inc. was

acquired by Google in 2005. After

original release there have been

number of updates in the original

version of Android.

ANDROID SDK:

Android uses a Java based

language. To develop an Android

app, a tool named Eclipse is required

as well as Android’s SDK [9], which

is an add-on for the Eclipse program.

When creating a new application for

the Android, the platform version

must be selected, e.g.1.5, 1.6, 2.1, or

Page 6: Women Safety App

2.2. However, the version can differ

on the Android device depending on

which Android device is being used.

The three main components required

in the creation of the Android app are:

the java file, which is a file that

contains all code required for

completion of desired tasks and

functions; an xml file, which contains

the layout for how the application will

look to a user; and a resource folder,

which contains all images, sounds,

and graphics files needed for the

application.

Android version

FEATURES OF

ANDROID OS:

Application framework

enabling reuse and

replacement of components

Dalvik virtual machine

optimized for mobile devices

Integrated browser based on

the open source Web Kit

engine

Optimized graphics powered

by a custom 2D graphics

library; 3D graphics based on

the OpenGL ES 1.0

specification (hardware

acceleration optional)

SQLite for structured data

storage

Media support for common

audio, video, and still image

formats (MPEG4, H.264,

MP3, AAC, AMR, JPG, PNG,

GIF)

Page 7: Women Safety App

GSM Telephony (hardware

dependent)

Bluetooth, EDGE, 3G, and

Wi-Fi (hardware dependent)

Camera, GPS, compass, and

accelerometer (hardware

dependent)

Rich development

environment including a

device emulator, tools for

debugging, memory and

performance profiling, and a

plug-in for the Eclipse IDE.

Integrated browser:

integrated browser

Whenever we install the

android one of the browsers is

in built browser.

The browser name is “browser

only”

integrated browser was

developed by the vendors on

the bases of anther open source

code called “web kit engine”

Integrated browser will satisfy

the 90-95% frequently

requirements of the mobile

developers.

Page 8: Women Safety App

Run Time Environment:

JVM is known as java virtual

machine

DVM is known as Dalvik

Virtual machine

The JVM is the stack based

virtual machine.

Flow of execution of Android

application:

Dx is an operable program in

android OS and used to convert

the JVM understandable

format.

APPT(Android Assisted

Package Tool) is an operable

program in android OS

It is used convert the .dex file

in to Android package

file[.apk]

JVM DVM

1 JVM is the runtime environment in

java technology

1 DVM is the run time

environment in android OS

2 JVM is the stack based virtual

machine

2 DVM is the register based

virtual machine

3 We cannot run the JVM in low heap

memories

3 We can run DVM in low heap

memories

4 JVM occupies the less space compare

to DVM.

4 DVM occupies the more space

compare to JVM.

Page 9: Women Safety App

Rich in development environment:

Android OS will provide the

tools for the developers to

design the android applications

in a simple file way.

“EMULATOR” is used to test

the android package file (.apk)

before installing in to real

android devices.

ADB (Android Debugging

Bridge) is an android platform

related to and used to control

the real devices through the

commands.

Example: c:\ >adb install

first.apk

Applications:

Android will ship with a set of core

applications including an email client,

SMS program, calendar, maps,

browser, contacts, and others. All

applications are written using the Java

programming language.

Android runtime:

Android includes a set of core

libraries that provides most of the

functionality available in the core

libraries of the Java programming

language. Every Android application

runs in its own process, with its own

instance of the Dalvik virtual

machine. Dalvik has been written so

that a device can run multiple VMs

efficiently. The Dalvik VM executes

files in the Dalvik Executable (.dex)

format which is optimized for

minimal memory footprint. The VM

is register-based, and runs classes

compiled by a Java language compiler

that have been transformed into

JAVA C

DXAAPT

.JAVA .class .dex.apk

Page 10: Women Safety App

the .dex format by the included "dx"

tool.

The Dalvik VM relies on the Linux

kernel for underlying functionality

such as threading and low-level

memory management.

PROBLEM

SPECIFICATION:

This document provides a

comprehensive architectural overview

of the DurgaEducation which is being

developed to assist educational and

job oriented service providers to

manage resources, using a number of

different architectural views to depict

different aspects of the system. It is

intended to capture and convey the

significant architectural decisions

which have been made on the system.

SCOPE:

Maintains a user-defined list of "Trusted Contacts". These contacts will be alerted by SMS and mobile notifications in case of any emergency. It allows the user to enter

the mobile numbers of the trusted contacts to which the SMS alerts has To be sent. It also allows the user to select the list of trusted contacts from the list of the Facebook friends who accepted to share their locations with the user to whom the mobile notifications has to be sent.

EXISTING SYSTEM:

The Safety Alert App is

designed to enhance the safety for

Women, Kids and everyone. at any

time and anywhere.

Our intention is to provide you

with the fastest and simplest way to

contact your nearest and dearest and

the emergency center.

During an emergency, it can be

hard to think straight; however,

it is important that your loved

ones are notified, and that the

authorities are able to pinpoint

your exact location in seconds.

Page 11: Women Safety App

PROPOSED SYSTEM:

In today’s time when you are

seeing so many crimes that is taking

place in our surrounding as well as in

our nations and that has become

biggest threat to us as well as our

families, then in such situation safety

becomes the major concern for all of

us..     

ADVANTAGES:

No need to go for a

computer and depend

on it.

User friendly

Being stalked on the way home

from work – on foot or by a

strange vehicle

• Attempted physical or sexual

assault

• Unsafe neighborhoods

• Domestic violence

• Road accidents

• Health related emergencies

These are all problems to

intimate her friends or parents,

SYSTEM REQUIREMENTS:

HARDWARE REQUIREMENTS

OF THE SYSTEM:

This phase of the software

development process deals with a

brief study of different hardware used

in the computerized system. There is a

list of hardware materials used during

the making and also during the use of

the proposed system. As the new

system to be made into a

computerized functional system,

requirement of a computer is must.

All the hardware needed here are

generally the basic configuration of a

typical office computer.

A list of the hardware requirement

used in the system given below:

CPU type                      :    Intel

Pentium 4

Clock speed                  :    3.0

GHz

Page 12: Women Safety App

Ram size                       :    512

MB

Hard disk capacity       :    40 GB

Monitor type                :    15 Inch

color monitor

Keyboard type             :     internet

keyboard

SOFTWARE REQUIREMENT :

Operating System:  Android

Back End                    :    SQLite

  Documentation   :    MSOffice

IDE            :    Eclipse 3.x

SDK               :    Android 3.2 SDK

Language         :    Java 1.6 or above

Database           :    remote MySQL

server

Emulator          :    Android Emulator

SOFTWARE REQUIREMENT

SPECIFICATION

  The Software Requirement

Specification document itself states in

precise and explicit language those

functions and capabilities a software

system (i.e. a software application, an

e-commerce website, etc.) must

provide, as well as states any required

constraints by which the system must

abide. The SRS functions are blue

print for completing a project with as

little cost growth as possible. The

SRS is often referred to the document

because all subsequent project

management documents, such as

design specifications, statements of

work software architecture

specifications, testing, validation

plans and documentation plans are

related to it.

Software Requirement

Specification (SRS) is the starting

point of the software developing

activity. As system grew more

complex it became evident that the

Page 13: Women Safety App

goal of the entire system cannot be

easily comprehended.  Hence the need

for the requirement phase arose.  The

software project is initiated by the

client needs.  The SRS is the means of

translating the ideas of the minds of

clients (the input) into a formal

document. (The output of the

requirement phase).The SRS Phase

consists of two basic activities:

Requirement Specification:

Here, the focus is on specifying

what has been found giving analysis

such as representation, specification

languages and tools, and checking the

specifications are addressed during

this activity.

Role of SRS:

The purpose of the Software

Requirement Specification is to

reduce the communication gap

between the clients and the

developers.  Software Requirement

Specification is the medium though

which the client and user needs are

accurately specified.  It forms the

basis of software development.  A

good SRS should satisfy all the

parties involved in the system.

The SRS contains Functional and

non-functional requirements.

  Functional Requirements:

Functional requirements may be

calculations, technical details, data

manipulation and processing and

other specific functionality that define

what a system is supposed to

accomplish.

Useful for the people who want

to need information even

when they are on the move.

Also it should provide access to

various functions through

Mobile.

It should provide the user to get

any notifications from the

server at any time.

It should give the flexibility to

the user.

Page 14: Women Safety App

It should allow the user to

check the notifications.

Maintains the information of

different services.

No manual intervention

No time is consumed

Non-Functional Requirements:

This report refers to the non-

functional requirements of the

application. To develop the

application, we must consider the

following non-functional

requirements:

User interface:

The system should provide “click

and go” type of graphical

interface with buttons and links

that can be easily understood by

the user. So that the errors in

entering the data in appropriate

fields can be reduced.

Performance:

The system should perform its

objectives efficiently and

effectively as per the

requirements. Response time

should be very fast.

Error Handling:

During data input if errors are

occurred then appropriate

messages should be displayed so

that the user can easily identify

and rectify them.

Security issues:

The system should be secured.

Only authorized users can access

the system. Each user is validated

by entering id and password.

MODULE:

There are 3 sub modules in this

women safety module. They are:

UI module(user interface layer)

or view module

Business processing module

Page 15: Women Safety App

SQLite data base or access

module

1.UI MODULE:

systems and resource manager. In

business layer we have native

technology and java technology. In

Native technology we have c and C +

+ in java technology we use java.

This layer also consists of

objects with which user interacts as

well as objects needed to manage or

control the interface.

This layer is responsible for:

1. Responding to user interaction.

2. Displayingthe business objects.

2.BUSINESSPROCESSING

MODULE:

This layer contains all the objects that

represent the business, both data and

behavior. The real objects such as

order, customer, invoice etc. exist

here.

These objects should not be

responsible for:

1. Displaying details.

2. Data access details.

3.SQLITEDATABASE OR

INTEGRATED DATA BASE

MODULE:

SQLite - a powerful and lightweight

relational database engine available to

all applications. SQLite database is an

integrated data base. This layer

contains objects thatknow how to

communicate with the place where the

data actually resides, be it a relational

database, main frames, internet or

files. Whenever we install Android

OS automatically SQLite Data base is

getinstalledbecause it is inbuilt data

base in Android OS.

SQLite data base is the

LIGHT weight data

base .

DDMS is an Android

Platform related to and

used to perform the

Page 16: Women Safety App

integrated data base

operations.

Integrated data base is

designed by the vendors

on the bases of RDBMS

features.

This layer is responsible

for:

1. Translate the request

2. Translate the results.

SOFTWARE DESIGN:

UML Diagrams:

  Unified Modeling Language (UML)

is a standardized general-purpose

modeling language in the field of

object-oriented software engineering.

The Unified Modeling Language

includes a set of graphic notation

techniques to create visual models of

object-oriented software-intensive

systems.

Unified Modeling Language is used to

specify, visualize, modify, construct

and document the artifacts of an

object-oriented software-intensive

system under development.

There are two types of UML

diagrams. They are

1. Structural diagrams

2. Behavioral diagrams

We have used three types of diagrams

to describe the modules in our   

project. They are

1. Use case diagrams

2. Sequence diagrams

3. Collaboration diagrams

Use Case Diagrams:

Use case diagrams model the

functionality of system using actors

and use cases.

 Sequence Diagrams:

Page 17: Women Safety App

Sequence diagrams describe

interactions among classes in terms of

an exchange of messages over time.

Collaboration Diagrams:

Collaboration diagrams represent

interactions between objects as a

series of sequenced messages.

Collaboration diagrams describe both

the static structure and the dynamic

behavior of a system.

Class Diagram: Class diagrams to

describe the structure of the system.

Classes Are abstraction that specify

the common structure and behavior

of  a set Class diagrams describe the

system in terms of objects, classes,

attributes, operations and their

associations.

CONCLUSION:

 The electronic TV is used for the

faster access and also can be used for

the controlling of the entire system

like modifications, updatingetc. With

the help of the electronic TV the

entire system can be controlled by the

user.

Only requiring a runtime

environment, mobile agents can run

computations near data to improve

performance by reducing

communication time and costs. This

computing paradigm soon drew much

attention in the transportation field.

From a single user system i.e., mobile

it can be changed to a multi user

systems i.e., TV by using android

applications so that all the programs

that are being watched in the mobile

can be watched on the TV at-a-time.

And this single and multiple users

applications, all these fields had

degrees of success.

  FUTURE ENHANCEMENT:

The Future enhancement for the

project can be done my implementing

following :

Page 18: Women Safety App

Release of updated versions can

be made.

Security can be implemented

by authentication through

login details.

Facebook and Gmail’s

integrations can be made.