Professional Documents
Culture Documents
Qrcode Base Paper
Qrcode Base Paper
Siti Fatimah Abdul Razak, Choon Lin Liew, Chin Poo Lee, Kian Ming Lim
Faculty of Information Science and Technology
Multimedia University
Jln Ayer Keroh Lama, 75450 Bukit Beruang, Melaka, Malaysia
fatimah.razak@mmu.edu.my, taikunseng@gmail.com, cplee@mmu.edu.my, kmlim@mmu.edu.my
Abstract— QR code has been applied in many ways from either vertically or horizontally, the constraints of a traditional
marketing products, locating promotional items on shelves, bar code is removed. So far, QR code has been implemented
finding stores and etc. In this study, we report on an android to find details of a product, provide store address or phone
based application development aimed to provide navigation numbers and etc.
services to locate parked vehicles in an indoor parking space of
shopping malls. We utilise the motion sensor, bar code scanner
function and camera function built in smartphones. This II. PROBLEM STATEMENT
application is able to show the route from user current location to Locating parked vehicles in a multi-level indoor parking
his parked vehicle based on an indoor map of the parking area
space which spans over a huge area has proven to be a
stored in a database. In addition, it is also able to automatically
detect user’s current movement based on steps calculation. A challenging task. Imagine after spending a few hours happily
field test was conducted in a shopping mall indoor parking space in a shopping mall, a visitor may lose sight or forget the exact
to evaluate the performance of the application. In general, the location where he has parked earlier. Valuable time will be
application has shown promising results. wasted to search for the exact location of his vehicle before
finally able to leave the shopping mall. Even more frustrating
Keywords— mobile navigator; vehicle navigator; indoor if the search was in vain after a few hours of search. A report
positioning; QR-code need to be lodge to customer service team in order to acquire
assistance, causing loss of more time.
I. INTRODUCTION
Nowadays, most vehicle owners apply the Global
Recent years have seen an explosion in the number of Positioning System (GPS) which receives position signal from
smartphone users worldwide. In line with this, numerous satellites to determine the approximate location of a vehicle
applications have been developed to provide various types of [2]. However, GPS does not work well within an indoor
services to its users. These applications employ different parking area [3]. This is because the position signal from
approaches in order to address different goals. Shopping malls satellites are attenuated and scattered by roofs, walls and other
have also looked into this perspective in providing assistance objects. Hence, one may acquire inaccurate position of his
to visitors especially those who are absent-minded or vehicle in the indoor parking area. Without any assistance, a
forgetful. The most common problem faced by shopping mall person who parked his vehicle in an unfamiliar indoor parking
visitors is remembering the exact location where they have area may find it time consuming to locate his vehicle,
parked their vehicle upon entering the shopping mall. Hence, a especially when he did not give attention to the details before
cost-effective android-based application which can mitigate leaving his vehicle in the first place.
this problem is sought by a number of shopping malls
especially those with multi-level indoor parking area. Therefore, an interactive android-based indoor car park
vehicle locator application using QR code is developed. A
Quick Response (QR) code is one available option for this field test was conducted to evaluate the performance of the
purpose. It is claimed as the easiest, least expensive and easy application. The application has been tested in a real
to implement which may be coupled with android technology. environment, i.e. in a shopping mall indoor parking area. The
Generally, QR code is a type of two-dimensional barcode result shows that the application is capable of locating parked
which may be read using smartphones and dedicated QR vehicle using QR codes.
readers to provide information in just one scan. It can store
massive amount of data which may be linked directly to
III. THE DESIGN
videos, text, websites, emails, database, and etc. [1].
Compared to a traditional two-dimensional barcode normally The design of this application is based on the SQL request
printed on products, QR code stores data in both directions architecture (Fig. 1). The android mobile phone is integrated
instead of only vertical lines. Since it can also be scanned with a SQL database which allows user to record information
262
2015 IEEE Student Conference on Research and Development (SCOReD)
on the nearest pillar to the parking lot. This is enabled with position of indoor maps. It describes the indoor map
existing Bar Code Scanner App in most smartphones which is information along with its components.
free and readily available. The location will be stored for
locating the vehicle later. Details of the application are • LocationArrayAdapter.java
explained in the next sub-sections. Array adapter is implemented to display the list of
options and allow users to choose an option they need.
A. Requirements Furthermore, it provides specific navigational service
for android users.
The application utilizes the motion sensor and camera
function which are both available in android devices. The • TouchImageView.java
camera function is required to scan and capture displayed QR The purpose of this function is to enable users to zoom
code whereas the motion sensor is necessary in order to into the indoor map images based on two-touch-
calculate user steps and determine whether a user has reach points, i.e. device’s screen and sketch to enlarge the
the destination or not. indoor map image. This increase the visibility of the
This application consists of ten java files i.e. indoor map.
DatabaseHelper, DBhelper, IntentIntegrator, IntentResult,
Location, LocationArrayAdapter, TouchImageView, • SensorService.java
SensorService, MainActivity and MainActivity2. These java Android device’s integrated motion sensor is required
files need to be compiled with android SDK for output APK to receive stimulus based on the device’s movement. It
file which is the installation file of this android application. In calculates user’s steps between the starting point and
addition, it also includes one unique SQL LITE database the destination point. Hence, it supports the navigation
called TakeMeThere.db. service by detecting the user’s current position.
• MainActivity.java
• MainActivity2.java
This is the default launcher of the application. The
This java class contains updated GUI function which
codes within this file are executed every time a user
receives computed user step and renders the
launches this application. It calls the XML layout
destination path in green colour. The path is updated
using shared-preferences to enable the application to
with user’s every step. This allows users to know their
store and retrieve user’s previous parking space. In
current location as well as their estimated distance
addition, it enables users to remove data of previous
from their vehicle’s exact location. When the user has
parking space which is no longer required.
reached the destination, the application immediately
• DatabaseHelper.java prompts user with a notification message.
This enables navigation path to be displayed. It also
allows users to display all indoor map path
information as well as list all possible paths on the list B. Modules and functions
component. However, this will only work after a QR The interactive android-based indoor parking lot vehicle
code has been scanned. locator application or also known as Cark Park Navigation
• IntentIntegrator.java System aims to help android users locate parked vehicles and
provide navigation services.
The application relies on the IntentIntegrator to
convert QR code images into indoor map information. • Main Menu
It is able to convert several types of QR code data Once the application is launched, users will be
which includes string data, byte array, integer and etc. prompted with a main menu (Fig. 7). Users may either
Therefore, in this application, it may obtain unique record current vehicle location or get all possible
data such as ‘4=1’ from the QR code which eventually routes.
displayed as unique maps. Hence, it provides different
navigational path options for the users.
• IntentResult.java
The QR code format is determined and converted as
strings or text which is compatible for android
systems.
• Location.java Fig. 7. Main Menu interface
This java constructor allows the application to create a
new constructor for the purpose of relocating the • Record Vehicle Location
263
2015 IEEE Student Conference on Research and Development (SCOReD)
This option is for user to record the location of his • Save, view, update and delete function
parked vehicle. Users will be prompted to scan the When a user accesses this application for the first time,
designated QR code image for the parking lot which is the application will check for any previous user vehicle
displayed on the nearest pillar. In order to do this, user location data in the database. It will prompt the user to
has to scan and capture the image using his android refresh the database by removing the previous vehicle
phone (Fig. 8). The scanned image will be matched to location. However, user also has the option to view
the stored images in the database. Once a matching pair and access previous QR code information using this
is found, the process is considered a success and application. Users may use this function to recall
specific navigation path will be retrieved from the local previous parking history in the same indoor parking
SQL LITE database. Then, user will be directed to the area. Imagine when a user is looking for a missed item
list view page. which he assumes he has accidently left it near the
parking space and would like to recall where he
recently parked. The user may use this function to
facilitate his search.
264
2015 IEEE Student Conference on Research and Development (SCOReD)
265