Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
50 views

Security App Documentation

The document describes an Android application that allows users to send an emergency SMS alert along with their GPS location to contacts. The application gets the user's location using GPS and lets them set a timer to periodically update contacts on their location. It aims to help people in dangerous situations notify others and track their location over time.

Uploaded by

Satyam Negi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Security App Documentation

The document describes an Android application that allows users to send an emergency SMS alert along with their GPS location to contacts. The application gets the user's location using GPS and lets them set a timer to periodically update contacts on their location. It aims to help people in dangerous situations notify others and track their location over time.

Uploaded by

Satyam Negi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

ISSN No.

0976-5697
Volume 5, No. 3, March-April 2014
International Journal of Advanced Research in Computer Science
RESEARCH PAPER
Available Online at www.ijarcs.info

An Emergency Alert SMS and GPS Tracking application for Android Smartphones
Zabiullah khan
Department of Computer Science and Engineering
Medak College of Engineering and Technology Hyderabad, India

Abstract: The Delhi Gang rape and fatal assault of a 23-year old female that occurred on 16 December 2012 and additionally frequent other
women and child molestations occurring around the globe are some of the controversial topics played on the news everyday. To understand and
overcome this type of controversies at some extent we introduce an Emergency Alert sms and Gps tracking application. An Emergency Alerts
sms and Global positioning system tracking application can be used in emergency purposes to message one of more person that the sender is in
trouble. The application additionally sends the exact location via gps through its latitude and longitude directions along with the message. It also
notifies the recipient in times slices if the sender sets the timer option to locate the current position prior to the previous location.

Keywords: Gps ; android smart phone’s; alert; Emergency sms; android platform; android applications;

I. INTRODUCTION

Android provides a rich application framework that


allows us to build innovative apps and games for mobile
devices in a Java language environment. Android apps are
built as a combination of distinct components that can be
invoked individually. For instance, an individual activity
provides a single screen for a user interface, and a service
independently performs work in the background. Android
provides an adaptive app framework that allows you to
provide unique resources for different device configurations.
You can also declare features your app requires. So app
markets such as Google Play Store do not allow installation
on devices that do not support that feature [1].

II. ANDROID ARCHITECTURE

Android apps are written in the Java programming


language. The Android SDK tools compile your code along
with any data and resource files into an APK .an Android Figure 1. Android Acthitecure.
package, which is an archive file with an “.apk” suffix. One By default, every app runs in its own Linux process.
APK file contains all the contents of an Android app and is Android starts the process when any of the app's components
the file that Android-powered devices use to install the app. need to be executed, then shuts down the process when it's no
Once installed on a device, each Android app lives in its own longer needed or when the system must recover memory for
security sandbox. The Android operating system is a multi- other apps [2].
user Linux system in which each app is a different user. By In this way, the Android system implements
default, the system assigns each app a unique Linux user ID the principle of least privilege. That is, each app, by default,
(the ID is used only by the system and is unknown to the has access only to the components that it requires to do its
app). The system sets permissions for all the files in an app work and no more. This creates a very secure environment in
so that only the user ID assigned to that app can access them. which an app cannot access parts of the system for which it is
Each process has its own virtual machine (VM), so an app's not given permission. However, there are ways for an app to
code runs in isolation from other apps, maintaining the share data with other apps and for an app to access system
Integrity of the Specifications [2]. services [2].
It's possible to arrange for two apps to share the same
Linux user ID, in which case they are able to access each
other's files. To conserve system resources, apps with the
same user ID can also arrange to run in the same Linux
process and share the same VM. An app can request
permission to access device data such as the user's contacts,
SMS messages, the mountable storage (SD card), camera,
Bluetooth, and more. All app permissions must be granted by
the user at install time. That covers the basics regarding how
an Android app exists within the system [2].

© 2010-14, IJARCS All Rights Reserved 89


Zabiullah khan, International Journal of Advanced Research In Computer Science, 5 (3), March–April, 2014,89-94

III. PROPOSED SYSTEM given or entered in the message field e.g.” Plz save me am in
trouble” as shown in Figure 2 & 3
We propose An Emergency Alert sms and Gps tracking
application for android platform. Figure 2 describes about the
overview of the application.

Figure 4. Giving Input Phone Number

Figure 2. OverVeiw Of Application Providing a phone number through the user input, a
Initially an input as a name should be given or entered in Minimum of two contacts can be entered at a time.
the first field as shown in Figure3. An input name should be
given such that if the contact number of the sender is not
saved by the recipient. The recipient of the message can
easily remember the name and contact number of the sender

Figure 5. Giving User Defined Timer Input

A User defined timer has to be selected if necessary, it


can be setup as one, three, five, ten, fifteen, twenty, twenty-
five minutes up-to two hours respectively as shown in the
Figure 3. Gving Input Name
figure 5 .The advantage of setting the timer on is to know the
The location field then automatically verifies the current location of the mobile device prior to the previous
location through global positioning system which is pre- location of the device from where the victim has sent the
installed in all the android based smart-phone’s, it retrieves message. With the help of timer we can easily catch the
the location address through its latitude and longitude current address of the mobile phone
directions and displays the address on the screen. If the gps Finally, The User should click on Click Here to Send
option is off in the smart-phone the switch-on or activate the Info to send the message and the message will be sent to the
gps option in your handset. An input as a message should be recipient as shown in the Figure 6.

© 2010-14, IJARCS All Rights Reserved 90


Zabiullah khan, International Journal of Advanced Research In Computer Science, 5 (3), March–April, 2014,89-94

“Emergency Alert” and application name as “Emergency


Alert” and package name as “Emergency. Alert”.
Android applications run in a sandbox, an isolated area
of the system that does not have access to the rest of the
system's resources, unless access permissions are explicitly
granted by the user when the application is installed. Before
installing an application, the Play Store displays all required
permissions: a game may need to enable vibration or save
data to an SD card. After reviewing these permissions, the
user can choose to accept or refuse them, installing the
application only if they accept [4].

Figure 6. User Sending Message to Recipeint

IV. ENVIRONMENTAL SETUP

The functionality of devices, are developed primarily in


the Java programming language using the Android software
development kit (SDK). The SDK includes a comprehensive
set of development tools, including a debugger, software
libraries, a handset emulator based on QEMU,
documentation, sample code, and tutorials. The officially
supported integrated development environment (IDE)
is Eclipse using the Android Development Tools (ADT)
plugin. Other development tools are available, including
a Native Development Kit for applications or extensions in C
or C++, Google App Inventor, a visual environment for Figure 8. Source Code for Emergency Alert in Eclipse IDE Environment
novice programmers, and various cross platform mobile web
The Following Figure 8 shows the Source Code of
applications frameworks [3].
Emergency Alert written in the Eclipse IDE Environment

Figure 7. Creating a new Android project


Figure 9. Source Code for GPSTracking in Eclispse IDE Environment
As shown in the Figure 7 we can create a new project by
selecting new file and then selecting as new android project.
In the following figure 7 we select the project name as

© 2010-14, IJARCS All Rights Reserved 91


Zabiullah khan, International Journal of Advanced Research In Computer Science, 5 (3), March–April, 2014,89-94

a higher-level view of the system. It has been said before that


"Use case diagrams are the blueprints for your system". They
provide the simplified and graphical representation of what
the system must actually do [6].

Figure 10. Emergency Alert Application in Android Emulator

Figure 12. Use Case Diagram

B. Collaboration Diagram:
The collaboration diagrams are also interaction
diagrams. The diagram convey the same information as
sequence diagrams, but focus on object roles instead of the
times that messages are sent [7].

Figure 11. Testing of Application by entering a Contact number in


Emulator

Figure 10, Figure 11 shows the Running and Testing of


Emergency Alert application in Android Emulator.

V. SYSTEM DESIGN

Systems design is the process of defining the


architecture, components, modules, interfaces, and data for
a system to satisfy specified requirements. Systems design
could be seen as the application of systems theory to product Figure 13. Collaboration Diagram
development. There is some overlap with the disciplines
of systems analysis, systems architecture and systems C. Class diagram:
engineering [5]. Class diagram is a type of static structure diagram that
describes the structure of a system by showing the
A. Use case diagram:
system's classes, their attributes, operations (or methods), and
A use case diagram at its simplest is a representation of a the relationships among objects [8].
user's interaction with the system and depicting the In software engineering, a class diagram in the Unified
specifications of a use case. A use case diagram can portray Modeling Language (UML) is a type of static structure
the different types of users of a system and the various ways diagram that describes the structure of a system by showing
that they interact with the system [6]. the system's classes, their attributes, operations (or methods),
While a use case itself might drill into a lot of detail and the relationships among objects [8].
about every possibility, a use-case diagram can help provide

© 2010-14, IJARCS All Rights Reserved 92


Zabiullah khan, International Journal of Advanced Research In Computer Science, 5 (3), March–April, 2014,89-94

Figure 14. Cllass Diagram


Figure 16. Sending and Confirmation Delivery of the message
D. Sequence diagram:
Sequence diagram: sequence diagram is an interaction
diagram that shows how processes operate with one another
and in what order. It is a construct of a Message Sequence
Chart. A sequence diagrams shows object interactions
arranged in time sequence. It depicts the objects and classes
involved in the scenario and the sequence of messages Figure 17. Message Received Notification at Recipient Side
exchanged between the objects needed to carry out the
functionality of the scenario [9]. The previous Figure 17 shows the message has arrived
The following figure describes the sequence diagram of with the name and current or present location and address of
the given application the sender.

Figure 18. Detail Message Recived at Recievers Side from the Sender
Figure 15. Sequence Diagram
The above Figure 18 shows the detail message, current
VI. RESULT location along with the address. If the timer is set ON then
this app automatically sends the message and the current
The following results are observed with the location (i.e. if the sender of the message has been kidnapped
experimentation. and the location of him/ her is changed, this app retrieves the
The below Figure16 shows that the message has been present location and sends message and address to the
sent to the recipient and delivered receiver(s).

© 2010-14, IJARCS All Rights Reserved 93


Zabiullah khan, International Journal of Advanced Research In Computer Science, 5 (3), March–April, 2014,89-94

VII. CONCLUSION [2] http://developer.android.com/guide/components/fundamentals


.html
This paper explains the absolute implementation of An
[3] http://en.wikipedia.org/wiki/Android_(operating_system)
Emergency Alert sms and Gps tracking application on
android platforms. This application helps as an emergency [4] http://en.wikipedia.org/wiki/Android_(operating_system)#De
tool for women around the globe. We shall additionally velopment
update and implement this application by connecting it with [5] http://en.wikipedia.org/wiki/Systems_design
social networks like facebook, twitter and cross-platform
[6] http://en.wikipedia.org/wiki/Use_Case_Diagram
mobile messaging apps like Whatsapp, We Chat and
Telegram in the future work [7] http://docs.embarcadero.com/products/rad_studio/delphiAndc
pp2009/HelpUpdate2/EN/html/devcommon/uml15collaborati
VIII. REFERENCES ondiagramdefinitionexample_xml.html
[8] http://en.wikipedia.org/wiki/Class_diagram
[1] http://developer.android.com/guide/index.html
[9] http://en.wikipedia.org/wiki/Sequence_diagram

© 2010-14, IJARCS All Rights Reserved 94

You might also like