International Journal of Computer Applications (0975 – 8887)
Volume 124 – No.1, August 2015
A Proposed Solution for Crime Reporting and Crime
Updates on Maps in Android Mobile Application
Syed Mujtaba Raza Leelavathi Rajamanickam, PhD
MSc. (IT). Student Senior Lecturer
Research and Innovation Management Center School of Information Technology
SEGi University, SEGi University,
Kota Damansara, Malaysia Kota Damansara, Malaysia
ABSTRACT show locations of crimes and to report a crimes. The
The purpose of this research paper is to propose and develop application that will be developed can be used by the people
an android mobile application for the general public of the specific area of which the database of police will be
awareness of the crime situation of their area and to provide connected to application.
them crime locations on the map. This application will also
help general public to report a crime to law enforcement
2. PROBLEM STATEMENT
agency. This android mobile application will help public to Public need awareness of their neighborhoods. Everyone cares
see the locations on map which will help them to track the for the lives of children and their beloved ones so they should
current situation of their surroundings. Some part of this be aware of the current situations in the area. This research
android mobile applications is being developed in SEGi aims towards common people or public to help them in their
University with sample databases. In this research we will lives by notifying them the current situation of their
suggest some methods for future recommendations that how neighborhoods.
can law enforcement agencies avoid fake reports which are General Public and law enforcement agencies may use these
reported from mobile? kind of applications in many ways to keep the community
aware of the current situations and to help them to live
Keywords together by communicating and sharing information with each
General Public, Law enforcement agencies, Android mobile other.
applications, Crime Reports, Crime Locations, Maps, PHP, What are the locations of crimes in the
JSON. surroundings?
How to report the crime with evidence to law
1. INTRODUCTION enforcement agencies?
Nowadays public wants themselves to be aware of security
alerts in their surrounding areas. The security is very 3. Research Methodology
important part of everyone’s life. The main stakeholder who will use this android mobile
application directly and that is general public. The general
The role of police in society is very important for that public will use this android mobile application to get the alerts
purpose. Police is a government institution and responsible for and news of the crimes in their surrounding areas and also use
the security of the lives and wealth of the public of the this application to report the crimes. These crimes will be
country. shown to them through a map.
Every time when police arrests criminals or gets crime reports
they update those records in their database. Most of the times 3.1.Tools and Techniques
public of that area, where arrest is taken or crime is being 3.1.1. Eclipse
reported, do not know that what is happening in their Eclipse is a good development tool for programming. This
surroundings. That is the reason that most of them do not take software is also used for the android programming. This
initial security steps in their houses. However most of the software is available for royalty-free. In November 2001,
crimes happen due to lake of security alerts and lake of Industry leaders Borland, IBM, MERANT, QNX software
awareness of the incidents in their neighborhoods. If public systems, Rationale Software, Red Hat, SuSE, TogetherSoft,
will get alerts and report crime timely then they can take some and Webgain formed and initial Board of Stewards of this
actions on the security of their lives and houses to make eclipse project as eclipse.org. In January 2014, IBM created
crimes difficult or stop [1]. an Eclipse Foundation which can work independently as a
non-profit corporation [3, 8].
A few countries are using such mobile applications to send
alerts to the people of the communities for their safety Eclipse software is user friendly. This software allows android
purposes. development by installing the plugins of android. These
plugins help developers to develop android application in user
The users of those applications are appreciating these friendly environment. This allows to drag and drop user
applications. These applications are creating an important role interface elements which is time saving for back end
in the safety of the society. developers.
Most of the mobile users are using smart phones to use health
guide, news alerts and many more applications in daily life
routine. Therefore a mobile application can be developed to
28
3.1.2. Java 1.8 MySQL was initially released on 23 May, 1995 by MySQL
Java is a programming language which is an essential part of AB. Now this is owned by Oracle Corporation. TYPO3,
android operation system. Application that are developed for MODx, Joomla, WordPress, phpBB, MyBB, Druphal are
android have Java as primarily language. James Gosling some of the famous software which are using
designed Java at Sun Microsystems and released in 1995. It MySQL.Google, Facebook, Twitter, Flickr and YouTube are
was promised that “Write Once, Run Anywhere. There were some of those famous and large scale websites which are
five main and primary purposes behind the development of using MySQL [6, 12, and 13].
Java as mentioned below:
3.1.7. MySQL Workbench
i. It should be “simple, object oriented and familiar”. MySQL workbench is a MySQL database tool which will
ii. It should be “robust and secure”. provide us to interact with our database in easy way. The
iii. It should be “architecture-neutral and portable”. official integrated environment for MySQL is MySQL
iv. It should execute with “high performance”. Workbench which was developed by MySQL AB. MySQL
v. It should be “interpreted, threaded and dynamic” Workbench allows users to graphically administer MySQL
[4, 10, and 26]. database. It also allows users to manage database design and
modelling, SQL development and database management.
3.1.3. Android (Version 2.2,Froyo to Version
5.0,Lollipop) MySQL Workbench is available in two different editions, the
regular free and open source Community Edition and the
Android is a mobile operating system which is written in C
proprietary Standard Edition [6, 7 and 13].
(core), C++ and Java (UI). Android Inc. was founded in
October 2003 by Andy Rubin, Rich Miner, Nick Sears and 3.1.8. PHP
Chris White. This operating system will help to create this PHP is a server side programming language which was
android mobile application [24]. designed by Rasmus Lerdof in 1994 the reference
Android is most dominant in the market of mobiles with implementation is now produced by The PHP Group. As of
shares of 78.0% in the year 2014 and is expecting to remain January 2013, more than 240 million websites and 2.1 million
with same rates in the 2015 [29]. web-servers installed PHP.
3.1.4. Android Software Development Kit (SDK) This language will help to get the information from MySQL
database to android mobile application and also help to insert
Android applications are developed in Java programming
data to MySQL database from android mobile application [14,
language for which Android SDK is used. Android SDK
33].
comprises on complete set of development tools. These
development tools consists of debugger, libraries, emulator, 3.1.9. JavaScript Object Notation (JSON)
documentation, sample code and tutorials [5, 11]. JavaScript Object Notation (JSON) transmits data objects in
3.1.5. Android Development Tool (ADT) the form of attribute-value pair which is human readable text.
JSON is an open standard format. JSON is derived from
We are using IDE Eclipse to develop this android mobile
JavaScript but JSON is a language independent data format.
application for which ADT plugin is required. This plugin
Many programing languages supports for coding to parse and
provides us many features which are very helpful in the
generate JSON data. The JSON format was originally
android mobile applications development. This provides an
designed by Dougals Crockford.
easy access to UI design to develop prototype, design and user
interface rapidly. JSON is a scripting programming language. This language
will help to send and receive data from PHP to android mobile
In addition to this, ADT provides Extensible Mark-up
application and vice versa [15, 34].
Language (XML) which helps developers to create and edit
Android manifest, resources, menus and layouts in two 3.1.10. XAMPP
different modes that are form-based and graphical. XAMPP was introduced by Apache Friends on 22 May, 2002.
ADT not only provides normal coding mode but also provides This is an open source cross-platform web-server solution
to jump to different resources such as strings or layout files stack package. This mainly comprises Apache HTTP server,
[9]. MySQL database and interpreters for the scripts written in
PERL and PHP programming languages. This was designed
3.1.6. MySQL Database with intention to provide test environment on personal
MySQL Database is a free open source database software computers without access to internet so that website designers
which will help us to save our data and to retrieve data and programmers can use it to test their websites on their own
through android mobile application. MySQL is the second computers.
most widely used database in the world. MySQL was named
after the daughter of co-founder Michael Widenius, My. The
SQL stands for Structured Query Language.
29
Fig 1. Workflow diagram of android mobile application system
XAMPP also allows to create and manipulate MySQL and law enforcement agency want to use this application a request
SQLite databases. option can be shown so that after confirmation of that requests
their database can be attached to this application. When a
XAMPP is PHP development environment. This will help to number of agencies will be attached the scope to control the
run PHP, Apache tomcat server and MySQL [16, 35]. crime will increase.
3.1.11. Google Maps Android API 5. ACKNOWLEDGMENT
Google maps android API is used to deploy maps in this First of all, I am very grateful to Allah, most merciful and
android mobile application [17, 36]. most gracious, who blessed me the strength and knowledge to
complete this research paper.
3.2. Workflow
The android application will be connected to the database of I would like to thanks to my supervisor, Dr. Leelavathi
law enforcement agency (sample). PHP script will get Rajamanikan. I appreciates her useful information to complete
information from database. This script will create a JSON this thesis. I would also like to thanks to Dr. Shaheen
object of the data which is collected from database. That Mansori, Dr. Kousay, Dr. Lai, Dr. Vinod, Dr. Yap and Dr.
JSON object will be sent to android application. This object Norriza who helped me to write the thesis and taught me the
will contain the crime location information which will be methods of conducting research. I am also thankful to head of
shown on map. department Dr. Mahadevan for his support to provide us great
environment to conduct research. I would like to thanks to
When general public have to report a crime then they will staff of our SEGi University, IGS and RIMC department and
open application to attach or take photo and send that photo Faculty of Information Technology.
with crime category to the database. The information of the
user will be verified at the time of signup so that if the report I am very thankful to my family to support me throughout my
is fake then the law enforcement agencies can take action life with their love and prayers. I would also like to thank to
against the reporter. my friends who encouraged me to complete this paper.
4. FUTURE RECOMMENDATION Then I would like to thanks to the researchers of the papers
For future work this application can be integrated with the and developers whose references I used. These references
traffic police database to tell the locations of traffic blockages, helped me a lot to complete this paper.
construction in progress etc. This application can also be At the end I would like to dedicate this research paper to the
further expand to convert into send live videos from android people who are victims of terror in all over the world.
application to desktop server of law enforcement agencies to
view the current situation of strike, fight etc. The facial 6. REFERENCES
expression algorithms can be used to find criminals. The [1] Causes of Crime – Explaining Crime, Physical
photos and videos which will be sent by people to check Abnormalities, Psychological Disorders, Social and
whether video or photo is edited or not some steps can be Economic Factors, Broken Windows, Income and
taken in the application to avoid fake evidences for example Education.
the images can be embedded with special identity so that if
someone try to send edited image that image will not be [2] My Maps https://www.google.com/maps/d/
accepted and law enforcement agency can take action against [3] Eclipse IDE https://eclipse.org/org
the reporter [25].
[4] Java http://java.com
The algorithms can be used to delete the number of data
which is not useable to free the space of the database. If some
30
[5] Android Software Development Kit [22] Reto Meier. May 2012. Professional Android 4
http://developer.android.com/sdk/index.html Application Development. Indianapolis: WROX.
[6] MySQL Database http://www.mysql.com/ [23] Android https://www.android.com/ Date of extraction:
June 6, 2015
[7] MySQL Workbench
http://www.mysql.com/products/workbench/ [24] Dr. A. Bharati, R. Shilpa. August, 2014. A survey on
crime data analysis data mining using clustering
[8] About the Eclipse Foundation : History of eclipse techniques. Date of extraction: 17 June, 2015.
https://www.eclipse.org/org/ Date of extraction: March 7,
2015 [25] Rory Cellan-Jones. (2015, June 8) EyeWitness app lets
smartphones report war crimes.
[9] Android Development Tool http://www.bbc.com/news/technology-33029464 Date
https://developer.android.com/tools/help/adt.html Date of extraction: June 12, 2015
of extraction: March 7, 2015
[26] Revatthy Krishnamurthy, J. Sateesh Kumar. December,
[10] Android Operating System : Applications 2012. Survey of data mining techniques on crime data
http://en.wikipedia.org/wiki/Android_%28operating_syst analysis. Date of extraction: 18 June, 2015.
em%29 Date of extraction: March 10, 2015
[27] D.E. Brown, "The regional crime analysis program
[11] Android Software Development: Android SDK (RECAP): A Frame work for mining data to catch
http://en.wikipedia.org/wiki/Android_software_develop criminals," in Proceedings of the IEEE International
ment Date of extraction: March 10, 2015 Conference on Systems, Man, and Cybernetics, Vol. 3,
[12] About MySQL http://www.mysql.com/about/ Date of pp. 2848-2853, 1998.
extraction: March 10, 2015 [28] Java (Programming Language)
[13] MySQL http://en.wikipedia.org/wiki/MySQL Date of https://en.wikipedia.org/wiki/Java_(programming_langua
extraction: March 10, 2015 ge) Date of extraction: 18 June, 2015.
[14] PHP http://php.net/ Date of extraction: April 8, 2015 [29] Smart Phones OS Market Share, Q1 2015
http://www.idc.com/prodserv/smartphone-os-market-
[15] JSON http://json.org/ Date of extraction: April 8, 2015 share.jsp Date of extraction: June 19, 2015.
[16] XAMPP https://www.apachefriends.org/index.html Date [30] Aijaz Ahmad Sheikh, Prince Tehseen Ganai, Nisar
of extraction: April 8, 2015 Ahmad Malik, Khursheed Ahmad Dar. September-
[17] Google Maps Android API October 2013. Smartphone: Android Vs IOS
https://developers.google.com/maps/documentation/andr http://www.thesij.com/papers/CSEA/2013/September-
oid/start#getting_the_google_maps_android_api_v2 October/CSEA-0104600401.pdf Date of extraction: June
Date of extraction: April 8, 2015 19, 2015
[18] Amit Kushwaha, Vineet Kushwaha. March 2011. [31] Android – Architecture http://www.tutorialspoint.com/
Location Based Services using Android Mobile android/android_architecture.htm Date of extraction:
Operating System. Date of extraction: April 8, 2015 June 19, 2015
[19] Xianhua Shu, Zhenjun Du, Rong Chen. Research on [32] Draw www.draw.io
Mobile Location Service Design Based on Android. [33] PHP https://en.wikipedia.org/?title=PHP Date of
Date of extraction: April 8, 2015 extraction: 22 June, 2015
[20] Prof. Seema Vanjire, Unmesh Kanchan, Ganesh Shitole, [34] JSON https://en.wikipedia.org/wiki/JSON Date of
Pradhyesh Patil. January 2014. Location Based Services extraction: 22 June, 2015
on Smart Phone through the Android Application. Date
of extraction: April 8, 2015 [35] XAMPP https://en.wikipedia.org/wiki/XAMPP Date of
extraction: 22 June, 2015
[21] Manav Singhal, Anupam Shukla. January 2012.
Implementation of Location based Services in Android [36] Google Maps API for Work
using GPS and Web Services. Date of extraction: April https://www.google.com/work/mapsearth/products/maps
8, 2015 api.html Date of extraction: 22 June, 2015
IJCATM : www.ijcaonline.org 31