Sunteți pe pagina 1din 47

ITRONIX SOLUTIONS

ITRONIX SOLUTIONS,INDUSTRIAL AREA


MOHALI,PUNJAB
A TRAINING REPORT
(Industrial)
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE AWARD OF
THE DEGREE OF

BACHELOR OF TECHNOLOGY
(Computer Science Engineering)

SUBMITTED TO
PUNJAB TECHNICAL UNIVERSITY, JALANDHAR

SUBMITTED BY

Name of Student University Roll No.


Vikash Kumar Gupta 1420150
01-05-12 to 15-06-12 (12pt)
(Duration of Training period)

RIMT- INSTITUTE OF ENGINEERING & TECHNOLOGY, MANDI GOBINDGARH


PUNJAB (14pt, Bold)

1
ITRONIX SOLUTIONS
ITRONIX SOLUTIONS,INDUSTRIAL AREA
MOHALI,PUNJAB
A TRAINING REPORT
(Industrial)
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE AWARD OF
THE DEGREE OF

BACHELOR OF TECHNOLOGY
(Computer Science Engineering)

SUBMITTED TO
PUNJAB TECHNICAL UNIVERSITY, JALANDHAR

SUBMITTED BY

Name of Student University Roll No.


Vikash Kumar Gupta 1420150
01-05-12 to 15-06-12 (12pt)
(Duration of Training period)

RIMT- INSTITUTE OF ENGINEERING & TECHNOLOGY, MANDI GOBINDGARH


PUNJAB (14pt, Bold)

2
3
SIX MONTHS INDUSTRIAL TRAINING REPORT
ON
WOMEN SAFETY
COMPLETED AT

ITRONIX SOLUTIONS

SUBMITTED IN PARTIAL FULFILLMENT FOR AWARD OF DEGREE OF

BACHELOR OF TECHNOLOGY
IN
COMPUTER SCIENCE ENGINEERING

BY
NIDHI
(1536738.)

DEPARTMENT OF COMPUTER SCIENCE ENGG.


TAWI ENGINEERING COLLEGE, SHAHPURKANDI

JUNE 2018

4
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

Police Station

My Location

5
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 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 face book
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.

6
ACKNOWDEGEMENT

One cannot succeed alone no matter how hard we may try as there is no work in the world which can be done
alone. We may need somebody to assist in my work. This project is also the culmination of efforts made by many.
Acknowledgement is not mere formality but a genuine opportunity to thank all those who would help me in making
this project.

We are making efforts in this project. However, it will not be possible without the kind support and help of
many individuals and organizations. We would like to extend my sincere thanks to all of them. We would like to
present my special thanks to my parents with whose co-operation everything is possible. We would like to express our
gratitude towards all for their kind co-operation and encouragement which helped me in initiating this project.

We were highly indebted to Mr. Deepak Updhayay, Trainer, Itronix Solutions, for his guidance and constant
supervision as well as for providing necessary information regarding the project and also for his support in initiation of
the project. He is helping me willingly with his abilities. It is good experience to work with Mr. Deepak Updhayay
without whose support we could not started our task efficiently.

Place:- Project Guide:-

Mohali Mr. Deepak Updhayay

7
TABLE OF CONTENTS

CHAPTER 1. Introduction ................................................................... 1-2

1.1 Overview 1
1.2 ....................................................................................................
Introduction of Android & History---------------------------------------- 1
1.3 --- ..............................................................................................
Necessity ............................................................................................... 1
PAGE
1.4 Objectives ................................................................................. 2
NO.

1.5 Orangization-------------------------------------------------------------

CHAPTER 2 Literature Review.......................................................... 3-5


.2 Sauver: An Android Application for Women Safety------------------- 3
.2 --A Mobile Based Women Safety Application (I Safe App)------------------- 3
1.2 Android SDK ........................................................................................ 4
......................................................
..................................................................
22. API Level .............................................................................................. 4
.32 Features of Android .............................................................................. 4
42. Android Application .............................................................................. 5
5.
6

CHAPTE 33 OVERVIEW
Overview AND STARTING WITH ANDROID .......
.............................................................................................. 6 - 13
6.
R ..3 Android Virtual Device ........................................................................... 7
.13 Application Component .......................................................................... 7
23. Additional Component ............................................................................ 8
3.
4
8
3 Creating our first android app ................................................................ 9
.
5

CHAPTE 44 SOME IMPORTANT


.java File CONCEPT IN ANDROID .............
................................................................................................... 14
R ..4 .xml File ................................................................................................... 14
14 -
.14 Manifest File ............................................................................................ 15
17
24. ANDROID UI WIDGETS ....................................................................... 15
.3
4

9
PAGE NO.

4.5 Some of UI Widgets .............................................................................. 15

4.6 Camera ................................................................................................ 16

4.7 Permission ........................................................................................... 17

4.8 Exampl…………………………………………………………………………

4.8.1 – Seek Bar

4.8.2 –Audio and Video Recording……………………………………………...

Conclusion ................................................................................................... 31

10
Bibliography .................................................................................................

11
Chapter-1

INTRODUCTION

1.1 Overview:

In today’s world, women safety has become a major issue as they can’t step out of their house at any given
time due to physical/sexual abuse and a fear of violence.

Atrocities towards (and against) women are forms of oppression hindering the development of women and
thereby resulting in gender injustice, this being ideologically supported by a value system, which is
androcentric and gender insensitive. Deepening inequalities and struggles by the oppressed section to assert
their rights (granted under democracy) have unleashed retaliations by the more privileged and, women
situated as they are in the social matrix as non-free, dependent subjectivities, become specially affected
ones.

Even in the 21st century where the technology is rapidly growing and new gadgets were developed but
still women’s and girls are facing problems. Even today in India, women can’t move at night in
secluded places and even at day time crowded places hundreds and thousands of incidents of
physical/sexual abuse happening to every day women in this country. Among other crimes, rape is the
fastest growing crime in the country today.

The status of women in India has gone through many great changes over the past few millennia. From equal
status with men in ancient times through the low points of the medieval period to the promotion of equal
rights by many reformers, the history of women in India has been eventful. In modern India, women have
adorned high offices in India including that of the President, Prime Minister, Leader of the Opposition and
Speaker of the LokSabha. However, women in India continue to face social challenges and are often victims
of abuse and violent crimes and, according to a global poll conducted by Thomson Reuters, India is the
“fourth most dangerous country” in the world for women, and the worst country for women

This project focuses on a security system that is designed solely to serve the purpose of
providing security to women so that they never feel helpless while facing such social challenges. The
Delhi Nirbhaya case that triggered the whole nation was the greatest motivation for this system. It was
high time we women needed a change.

12
1.2 INTRODUCTION TO ANDROID

What is an app?
App is an abbreviated form of the word "application". An application is a software program that is
designed to a specific function directly for the user which can be access easily.

What is an Android?

Android is an open source operating System for mobile devices such as


smart-phones and tablet,computers. Android offers a unified approach to application development for
mobile devices which means developers need to develop only for Android, and their applications should
be able to run on different devices powered by android.
Android was developed by the Open Handset Alliance(OHA) , led by Google, and other
companies.Android is mainly based on direct manipulation ,using touch gestures that looses correspond
to real world actions. It provide us with the manipulate
on-screen object,along with a virtual keyboard for text input.

History of Android

Android was initially developed by Android Inc., the code names of android ranges from A to N.
Founded by Andy Rubin in Palo Alto,California, United States in Oct 2003.
Android word is actually reffered to as robot
Android was named after the nickname of Andy Rubin by their co-workers for his
love for robot.

Google acquired android Incorporation on 17th Aug,2005.


Android was developed by the Open Handset Alliance(OHA) for camera phone, led by
Google, and other companies.
But shifted to smart-phones due to low market of cameras at that time.
HTC launches the first android mobile.
In 2010,Google launched it’s Nexus series of devices in smart-phone world with android OS.

13
Android Version

1. Android 1.0, 1.1(Base,Base_1_1)

2. Android 1.5(Cupcake)
3. Android 1.6(Donut)
4. Android 2.0(Eclair)
5. Android 2.0.1(Eclair_0_1)
6. Android 2.1.x(Eclair_MR1)
7. Android 2.2.x(Froyo)
8. Android 2.3 - 2.3.2(Gingerbread)
9. Android 2.3.3 - 2.3.4(Gingerbread_MR1)
10. Android 3.0.x, 3.1.x, 3.2(HoneyComb, HC _MR1, HC_Mr2)
11. Android 4.0 - 4.0.2, 4.0.3 - 4.0.4((Ice_Cream_Sandwich,ICS_MR1)
12. Android 4.1 - 4.1.1, 4.2 - 4.2.2,4.3(Jelly_Bean, JB_MR1, JB_MR2)
13. Android 4.4, 4.4W (Kitkat, K_Watch)
14. Android 5.0, 5.1(Lollipop, L_MR1)
15. Android 6.0 (Marshmallow)
16. Android 7.0 (Nougat)
17.Android 8.0 (Oreo)

14
Android App Development

Android app is a combination of different source code in a single place whose action can be performed
just by a single touch.
Example:- Suppose if we want to add two no’s then we just have to click on the calculator app and enter
two no’s and the operand that we have to perform. It makes our work much easier and this are much user
friendly.
So what happen ? How it calculated the answer.
Android programming is based on java programming language so if we have basic understanding on Java
programming then it will be a fun to study Android app development.

Java in Android App Development


Java is a programming language that doesn’t compile to native processor code but rather it refers to
virtual machine which understands an intermediate format i.e; java byte-code. Each platform that uses java
to run needs a virtual device.
An android app uses a android application that runs on android platform. It build on custom virtual machine
that gives its user the addition usage and application power And a user friendly environment. Android
actual virtual machine is called Dalvik.

Android Software Development Kit(Android SDK)


Apps that extend the functionality of device is written using Android SDK and often using java
programming language.The SDK includes a set of development tools, including a debugger, software
libraries,a handset emulator, sample code,etc.
Initially Google supported Integrated Development Environment(IDE) i.e; Eclipse using the Android
Development Tools(ADT) plugins. Other development tools are also available such as Native
Development Kit(NDK). Android Studio that is based on Intellij IDEA developed by Google as its
primary IDE for android app development. Android is a selection of third-party application which can
be acquired by users by downloading and installing the Android Application Package(APK) file.

15
What is API Level ?
API Level is an integer value that uniquely identifies the framework API revision offered by a version
of the Android platform.

Features of Android
 It is an open source user friendly software
 It has beautiful user interface
 It reduced cost of development
 It has rich development environment
 Inter application Integration
 It support single and bi-directional text
 It uses Dalvik virtual machine- optimized version for mobil

Android Application :
They are generally developed in the java language using the Android SDK. Android applications can be
packaged easily and sold out either through a store such as Google play,etc. There are many android
applications that we already know and uses them few are music,news,weather,etc. Many android
application are also available for free most of them are already available in play store.
This apps are compatible with almost every platform but few are also available for the specific platform..

16
OVERVIEW AND STARTINGWITH
ANDROID

Overview
Android applications are freely available and can be downloaded from the Web. Following is the list of
software's you will need before you start your Android application programming.
This all software required in the installation of Android application.This setup is required for the
configuration with RAM less or more than 4gb:
Java JDK5 or JDK6
Download the latest version of Java JDK and install the JDK and set the
environmental path for it.
Android SDK
Download Android SDK from Android’s official website :
http://developer.android.com/sdk/index.html
If you install SDK either on Mac OS or Linux, follow the instruction and setup the
environment path.
Launch Android SDK Manager using option All Program>Android SDK Tools>SDK
Manager
Eclipse IDE for Java Developers
Check for the version that is compatible with your device and install it.
Or, Android Development Tools (ADT) Eclipse Plugin
This step will help you in setting Android Development Tool plugin for Eclipse.
Let's start with launching Eclipse and then, choose Help > Software Updates > Install
New Software

Android Virtual Device


To test our android application we will need a virtual Android device. Before start writing our code we
create an Android Virtual Device Android operating system is a stack of software components which is
roughly divided into five sections and four main layers :
Application

You will find all the Android application at the top layer. You will write your application to be
installed on this layer only

17
Application Framework
The Application Framework layer provides many higher-level services to applications in
the form of Java classes.
Libraries
There is a set of libraries including open-source Web browser engine WebKit, well known
library libc, SQLite database,etc.
And , Android Runtime :
This is the third section of the architecture and available on the second layer from the
bottom. This section provides a key component called Dalvik Virtual Machine which is
a kind of Java Virtual Machine specially designed and optimized for Android
Linux Kernel
At the bottom of the layers is Linux,This provides basic system functionality like process
management, memory management, device management like camera, keypad, display
etc.

Application Component

Application components are the essential building blocks of an Android application. These
component are loosely coupled by the application manifest file, i.e; Android-
-Manifest.xml

Following four main component that can be used within an Android application :
1) Activities :- They dictate the UI and handle the user interaction to the smartphone screen public
class MainActivity extends Activity
{ }
2)Services :- They handle background processing associated with an application public class
MyService extends Service
{ }

3)Broadcast Receivers :- They handle communication between Android OS and applications public
class MyReceiver extends BroadcastReceiver
{ }
4)Content Providers :- They handle data and database management issues. public class
MyContentProvider extends ContentProvider
{ }

18
Additional Component :

There are additional components which will be used in the construction of above mentioned
entities, their logic, and wiring between them.They are :
1) Fragments :- Represent a behavior or a portion of user interface in an Activity.
2) Views :- UI elements that are drawn onscreen including buttons, lists forms etc
3) Layouts :- View hierarchies that control screen format and appearance of the views
4) Intents :- Messages wiring components together.
5) Resources :- External elements, such as strings, constants and drawable pictures
6) Manifest :- Configuration file for the application

19
20
Creating our first android app : Displaying “Hello World” :

The first step is to create a simple Android Application using Android Studio.Follow the option File ->

New -> New Project ->Enter application name in the pop-up window.Then select a Empty activity-

>next->Activity name->Finish.

(I) Empty Activity selected

21
(II) Activity name, it automatically create a layout name file related to your activity

Creating Activity

22
Java coding for hello world : MainActivity.java

23
MainActivity.java file

24
(II) Coding and design view of xml file

Result on the Android Virtual Device is :

25
SOME IMPORTANT CONCEPT IN ANDROID

Before going to project that I made we need to know some basic concept of Android for better
understanding.
Since every project that we do in android studio must contain this files:-
.java file
.xml file
AndroidMenifest file

.javaFile :
This file include all the codes and logic written in it.
We can open it in the android project -> app -> java ->com.example.username.filename ->
MainActivity.java

When we run our program methods that are called :

- onCreate(Bundle) :- It is used to initialize our activity.

26
-setContentView(int) :- It is a layout resource defining our User Interface.

It is used to retrieve widgets in the that UI that we need to interact.


-onPause() :- Where we deal with the user leaving activity.

.xmlFile :
It is used to define the actual User Interface of our application.

We can open the .xml from app -> res ->layout -> ActivityName.xml.

We can find all the elements or the tools that we want to use in our project.
It has two different layout i.e; a coding layout where we can code for our required elements needed
like buttons, text views,etc.
Or, we can directly drag and drop the required elements in the given design layout.
The Android framework gives us the flexibility to use either or both of these methods for
declaring and managing our apps UI.

Manifest File :
Every application must have an AndroidManifest.xml file in its root directory.
It provides an essential information about app to the android system.It provides us the information about
the permission that we have given the app to access our device.No. of activities we have use in our app.

ANDROID UI WIDGETS :
A widget is a simple application extension that is often part of a larger application that are already
inbuilt.It comes in all shapes and sizes, and are customizable and are available for quick access.

Some of1UIWidget are:


Button : Android Button represents a push-button. The android.widget. Button is subclass of TextView
class and Compound-Button is the subclass of Button class. Types of button are : RadioButton ,
ToggleButton, ImageButton, etc.

Spinner : Android Spinner is like the drop-down box of AWT or Swing.It can be used to display the
multiple options to the user in which only one item can be selected.Android Spinner class is the subclass of
AsbSpinner class.
27
ToggleButton : Android ToggleButton and Switch both are the subclasses of CompoundButton class.
Android Toggle Button can be used to display checked/unchecked state on the button. It is beneficial if
user have to change the setting between two states. Exp : Bluetooth on/off, music sound on/off, etc.

CheckBox : Android CheckBox class is also the subclass of CompoundButton class.


Android CheckBox can be either checked or unchecked. We can use
more no. of CheckBox.
Many Android application uses our device component such as camera, Bluetooth,etc. For
that all we have to give special permission in the manifest file.

28
Camera :
We can directly integrate the camera into your application via the Camera API. Using the camera on the
Android device can be done via integration of the existing Camera application. In this case you
would start the existing Camera application via an Intent and to get the data after the user
returns to our application.

Permission given:
In the manifest file we give the following permission to the application to access the hardware component
i.e; camera :
<uses-feature android:name="android.hardware.Camera"/>
<uses-permission android:name="android.permission.CAMERA" />
After giving permission to the app we also have to give the special permission to the app through our
device to the location ,
Setting -> apps -> open app -> permission -> camera allow -> close setting

29
EXAMPLE:-
SEEK BAR

30
It consist of seekbar that control volume and a button that give instruction about the project.

31
AUDIO AND VIDEO RECORDING

32
33
4.9 Methods and function :
As many of the topic has been mention in my project frequently. So to know more about the topic it has been
declared within below :
onClickListener :- onClickListener is used to assign a button what to do on clicking using
button.setOnClickListener(new onClickListener) in the activities onCreate - method.
Intents :- Intents are objects of the android.content.Intent type.It can be started using startActivity( )
method. It is used to move one activity to another .It contain the data via a Bundle.
Seekbar :- A seekbar is an extension of a progressbar that adds a draggable thumb.The user can drag the thumb
left or right to set the current progress level or use the arrow key.
Clients of the SeekBar can attach a SeekBar.OnSeekBarChangeListener to be notified of the user’s actions.
Toast :- A Toast can be used to display information for the short period of time. A Toast contains message to be
displayed quickly and disappear after sometime.The android.widget.Toast class is the subclass of
java.lang.Object class.
Syntax :- Toast.makeText(Context context,CharSequence text,int duration).show( );

34
1.3 Necessity
According to statistics, 39% of all women in the Netherlands have been the victims of sexual violence at

some time in their lives. Power imbalance and stereotypes about men and women are often to blame. That
is why the Dutch government wants men and women to be on an equal and healthy footing.

Women’s safety has been an ongoing issue ever since the first women appeared on the face of the earth.

Some of this is due to the difference in strength between men and women. In most cases, a man has the

ability to overpower a woman, but there is more to the safety of women than that. Lack of values and
opportunity also play a role in situations involving emotional, mental and bodily harm to women are

involved.

Women should never feel that they are fault for someone else’s actions. This is why it is so important that
all women are offered training in ways to protect themselves and ensure their safety.

1.4 Objective of project


We are trying to contribute little efforts towards women which will ensure the safety and respect for women.
So that she can also have rights to grow equally like men. Our project is based on such application which is
going to help user by locating the root device through GPS and also be able to scan the QR code and message
the content in text format to contacts as per user wish.

The main purpose the project is to provide highly reliable security system for the safety of women. The
proposed system is based advanced sensors and GPS. The basic aim of the system is to develop a low cost t
solution for GPS based women tracking (women safety). The main objective of the system is to track the
current location of the person which has an android enabled mobile by extracting the longitude and latitude of
that target person.

35
1.5 About Organization:-

Itronix Solutions is one of the leading Advance Embedded Systems, Information Security, IT solutions &
Networking Training
It’s a beginning of the new- Revolution in the Electronics, Cyber Space Security, IT Solutions & The revolt for
knowledge, the mission for sharing, the promise for accomplishing the dream, and the drive for the passion had
come together as ITRONIX. A dream for revolution which was started with Er. Karan Arora & Mr. Varun
Nayyar and Mrs.Chetna Nayyar during the college days is the establishment of ITRONIX SOLUTIONS. This
is a revolution and they are the revolutionaries. Networking. The term ITRONIX is a union of Embedded
systems in Electronics and securing the Information Technologies around the world We feel like that there is
something lagging behind our hometown Punjab, so they have decided to run an industry of training to provide
the
solutions in various fields of the Electronics, Information Security, IT Solutions & Networking

This is the revolution in the field of the Electronics and the Information Security. During their college days,
they saw people memorizing the list of programming languages, configuring hardware’s, and lots of other
things. But they forgot the difference between the term learning, understanding and the memorizing.

Development and Networking we provide sought-after expertise in these fields. The Professional Development
Courses help in honing the basic skills across platforms and methodologies while the Corporate Trainings drive
enablement on specific tools and technologies. Itronix Solutions has superior infrastructure and highly
qualified expertise to training

36
Chapter 2

Review Of Literature

2.1 Survey: An Android Application for Women Safety


2.1.1 Description

This app can be activated by a single click when the user feels she is in danger. This application

com-
Monique the user’s location to the registered contacts for every few seconds in the form of message.

Thus, it acts like a sentinel following behind the person till the user feels she is safe. The key

features

of this application are along with the user’s location, one of the registered contacts gets a call. Also,
the
registered contacts and GPS location are saved from time to time in a database.

2.1.2 Pros
This app continuously fetch the location for an interval of every 30 secs and send it to registered

contact.

So we can easily track the user and it will also send the location in form of URL or latitude and
longitude

2.1.3 Cons
This app will work at the time of the danger so it is not that feasible for a user to instantly react if he

or

she is in trouble.The whole process of the system is done only when the device is connected to
proper

mobile network, data connection of the device is on and location service in the device is switched
on
(GPS).

2.1.4 How we overcome Those problem in Project


37
In future we will try to overcome the problems of previous applications.As the Internet access

should be

there in above application which is not possible for all so we will try that our application should
work

without the Internet access.

2.2 A Mobile Based Women Safety Application (I Safe App)

2.2.1 Description

The personal safety application requires the name and number of the person who is to be contacted in
times of emergency. Users can add multiple people in the emergency contacts list. These are the people
who will receive notifications or SMS in case of an emergency. All it requires is the user’s action to
trigger an SOS button provided and it shoots messages as fast as the device can manage. Once the SOS
button is hit, the people in the emergency contacts will get a message like: I am in an emergency;
followed by another message, which has the exact or approximate GPS location of the cell phone. The
user can also make audio or video call. This app also provides necessary first aid measures that should
be taken at the time of emergency situations.

2.2.2 Pros

In this app user can add multiple contacts, all we need is just to trigger the SOS button and it will start
shooting emergency messages as fast as device manage.

2.2.3 Cons

Declare an emergency whenever you sense a danger which is not feasible. Continuous Internet
accessibility which always not possible due to network issues.

38
2.3 Abhaya: An android app for the safety of women

2.3.1 Description

This paper presents Abhaya, an Android Application for the Safety of Women and this app can be
activated this app by a single click, whenever need arises. A single click on this app identifies the location of
place through GPS and sends a message comprising this location URL to the registered contacts and also call
on the first registered contact to help the one in dangerous situations. The unique feature of this application is to
send the message to the registered contacts continuously for every five minutes until the âœstopâ button in the
application is clicked. Continuous location tracking information via SMS helps to find the location of the
victim quickly and can be rescued safely.

2.3.2 Pros

This app continupusly send message for every 5 mins until the user click the stop button. The message
contains the location URL and it also call on the first registered contact.

2.3.3 Cons

The working of this app is quite lengthy, though it provides continuous location of the user but the
continuous access to the Internet is required. Any trouble in network will lead to big problem since the
only way to give the information to our registered number is through Internet and if at all the Internet
accessibility is not possible then it will not help in any way.

2.4 Safetipin- Complete Safety App

2.4.1 Description

The is a privacy security app having the troop of features; GPS tracking, emergency, important contact
numbers, directions to safe locations, pins displaying unsafe and free from danger areas and a Safety
Score. It drives in advance of exemplary women safety apps, and presents a vast range of features, so
that they will help to practically plan and can give a counter attack to those spots in the locality.
When a person is going to move to a new locality that is unknown to him and if he or she want to know
the safe areas, then this app will be much helpful providing the user a map based view of the locality
along with its safety score. Also, the person can select the areas on those he or she excited to go and can
get knowledge about the risks of hassles about the area, so they can finally take safety measures.

2.4.2 Pros

This app provide numerous feature such as GPS tracking, important contact numbers, directions to safe
location, pins displaying unsafe and free from danger areas.

39
2.4.3 Cons

This app will only provide the details of unsafe locations when user access it. It will not give any sort of
help when user is in trouble or danger and he/ she actually needs help.

Women’s Security

2.5.1 Description

The app is developed by App Soft India. The key features of the app are: the user has to save some details.
These details include: Email address and password of the user, Email address and mobile number of the
recipient and a text message.
Then, app is loaded as a âœwidgetâ, so that when the user touches the app, it alerts the recipient. Another
key feature of app is that it records the voice of surroundings for about 45 seconds and this recorded voice,
text message containing location co-ordinates of the user is sent to the recipient mobile number.

2.5.2 Pros

The key features is that it requires details such as email address and password of both user and recipient.
It records the surrounding voice for about 45 secs.

2.5.3 Cons

This app will need continuous access to Internet for tracking location. If the victim is in danger it is not
possible to touch the button to give alert.

40
Chapter 3
Training Work

3.1 Working with Java

3.1.1 Object − Objects have states and behaviors. Example: A dog has states - color, name, breed
as well as behaviors – wagging the tail, barking, eating. An object is an instance of a class.

3.1.2 Class − A class can be defined as a template/blueprint that describes the behavior/state that the
object of its type support.

3.1.3 Loop statement us to excute a statement or group of of statements multiple times and following is the general
form of a loop statement in most of the programming languages .

3.1.4 String Length- Methods used to obtain information about an object are known as accessor methods. One
accessor method that you can use with strings is the length() method, which returns the number of
characters contained in the string object.

3.1.5 Inheritance:-
Inheritance can be defined as the process where one class acquires the properties (methods and fields) of
another. With the use of inheritance the information is made manageable in a hierarchical order.

The class which inherits the properties of other is known as subclass (derived class, child class) and the class
whose properties are inherited is known as superclass (base class, parent class).

The super keyword is similar to this keyword. Following are the scenarios where the super keyword is used.

 It is used to differentiate the members of superclass from the members of subclass, if they have same names.

 It is used to invoke the superclass constructor from subclass.

3.1.6 Multi-Threading-

Java is a multi-threaded programming language which means we can develop multi-threaded program using
Java. A multi-threaded program contains two or more parts that can run concurrently and each part can handle
a different task at the same time making optimal use of the available resources specially when your computer
has multiple CPUs.

41
3.1.7 Overriding-

Overriding are two type:-

Method Overriding

Method Overloading

3.1.8 Polymorphism- Polymorphism is the ability of an object to take on many forms. The most common use of
polymorphism in OOP occurs when a parent class reference is used to refer to a child class object.

3.1.9 Array- Java provides a data structure, the array, which stores a fixed-size sequential collection of elements of
the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a
collection of variables of the same type.

3.1.10 Abstraction- It is the quality of dealing with ideas rather than events. For example, when you consider the case
of e-mail, complex details such as what happens as soon as you send an e-mail, the protocol your e-mail server
uses are hidden from the user. Therefore, to send an e-mail you just need to type the content, mention the
address of the receiver, and click send

3.1.11 Interfaces- An interface is a reference type in Java. It is similar to class. It is a collection of abstract methods.
A class implements an interface, thereby inheriting the abstract methods of the interface..

3.1.12 Packages- Packages are used in Java in order to prevent naming conflicts, to control access, to make
searching/locating and usage of classes, interfaces, enumerations and annotations easier, etc.

A Package can be defined as a grouping of related types (classes, interfaces, enumerations and annotations )
providing access protection and namespace management.

3.2 Working with Android

Android is an open source and Linux-based operating system for mobile devices such as smartphones and
tablet computers. Android was developed by the Open Handset Alliance, led by Google, and other companies.
This basic Android programming and will also take you through some advance concepts related to Android
application development.

You will be glad to know that you can start your Android application development on either of the following
operating systems −

42
 Microsoft Windows XP or later version.

 Mac OS X 10.5.8 or later version with Intel chip.

 Linux including GNU C Library 2.7 or later.

Second point is that all the required tools to develop Android applications are freely available and can be
downloaded from the Web. Following is the list of software's you will need before you start your Android
application programming.

 Java JDK5 or later version

 Android Studio

 The basic building block for user interface is a View object which is created from the View class and occupies
a rectangular area on the screen and is responsible for drawing and event handling. View is the base class for
widgets, which are used to create interactive UI components like buttons, text fields, etc.
 The View Group is a subclass of View and provides invisible container that hold other Views or other View
Groups and define their layout properties.
 At third level we have different layouts which are subclasses of ViewGroup class and a typical layout defines
the visual structure for an Android user interface and can be created either at run time
using View/ViewGroupobjects or you can declare your layout using simple XML
file main_layout.xml which is located in the res/layout folder of your project.

Android drag/drop framework allows your users to move data from one View to another View in the current
layout using a graphical drag and drop gesture. As of API 11 drag and drop of view onto other views or view
groups is supported. The framework includes following three important components to support drag & drop
functionality −

 Drag event class.

 Drag listeners.

 Helper methods and classes.

43
44
CONCLUSION

Unfortunately the safety of women is in doubt and security is not concerned. Many headlines still
coming across women indicates that increasing trends of such sexual assualt, rapes still happening in
today’s generation. Around 80% of women are losing confidence and have fear towards the realization
of freedom.
So we are trying to contribute little efforts towards women which will ensure the safety and respect for
women so that she can also have rights to grow equally like men.

The mobile application is very much helpfull for anyone. This application will help user through GPS,
the GPS can be fetched the user currently address and send it to any contact depending on user. Here
the user can take precautions before coming to the actual danger.

The problem of the women safety is increased rapidly in this environment, so I proposed as an effective
Android application to prevent such type of the suspicious or natural disaster, by alerting the concern
authorities using the android mobile phone which helps to stop such type of illegal activates and to trace
the concern.

45
FUTURE SCOPE
Scope of this project is very broad in terms of other tracking system. It is a android application. This can
be used insecurity world of women. It helps to efficiently increase the security and safety of women’s.
As the technology, it is poosible to upgrade the system and can be adaptable to desried environment.
Because it is based on object oriented design, any further changes can be easily adaptable. For future
upgrades we will be linking our application with the database of drivers details, i.e, if at all the driver is
committing any sort of crime and he is she has gone missing so we would be able to trace him by the
information provided in the database. We will link our app directly with the drivers details which will
contain information like photo, address of driver, contact details, batch assigned by the RTO and the
certificate of vehicle details as well.

Bibliography

Following are the links from which all the information have been taken :

1. https://developer.android.com/training/basics/index.html

2. https://developer.android.com/training/basics/concept/creating-project.html

3. http://www.hiddenbrains.com/android-application-development.html

4. http://www.letsnurture.com/services/mobile/android-mobile-application-devel opment.html

5. https://www.tutorialspoint.com/android/
46
47

S-ar putea să vă placă și