This document summarizes an Android-based navigation application called iNavigate that allows users to navigate around the Infosys Mysore campus without an internet connection. The application provides options to find the user's current location, get directions between locations, and calculate distances between locations. It uses offline maps stored in an SQLite database. When getting directions or distances, the user selects a source and destination from dropdown menus and the longitude, latitude or distance is displayed. For finding the current location, the user enters their location and sees it highlighted on a map. The application aims to help new employees easily navigate the large campus.
2. ISSN: 2277 – 9043
International Journal of Advanced Research in Computer Science and Electronics Engineering
Volume 1, Issue 4, June 2012
file that Android-powered devices use to install the B. Android Architecture
application The following diagram shows the major components of the
Android operating system. Each section is described in more
detail below.
Figure 2.1: Android Architecture
a. Applications layer Android includes a set of C/C++ libraries used by various
Android ships with a set of core applications including an components of the Android system. These capabilities are
email client, SMS program, calendar, maps, browser, exposed to developers through the Android application
contacts, and others. All applications are built using the Java. framework. Some of the core libraries are System C library,
Each of the application aims at performing a specific task that media libraries, LibWebCore, etc
it is actually intended to do. d. Android Runtime
b. Application framework Android includes a set of core libraries that provides most
The application framework is a set of basic tools with of the functionality available in the core libraries of the Java
which a developer can build much more complex tools. By programming language.
providing an open development platform, Android offers Every Android application runs in its own process, with its
developers the ability to build extremely rich and innovative own instance of the Dalvik virtual machine. Dalvik has been
applications. Developers are free to take advantage of the written so that a device can run multiple VMs efficiently. The
device hardware, access location information, run Dalvik VM executes files in the Dalvik Executable (.dex)
background services, set alarms, add notifications to the format which is optimized for minimal memory footprint.
status bar, and much more. Developers have full access to the The VM is register-based, and runs classes compiled by a
same framework APIs used by the core applications. The Java language compiler that have been transformed into the
application architecture is designed to simplify the reuse of .dex format by the included "dx" tool.
components; any application can publish its capabilities and
The Dalvik VM relies on the Linux kernel for underlying
any other application may then make use of those capabilities
functionality such as threading and low-level memory
(subject to security constraints enforced by the framework). management.
c. Libraries
e. Linux Kernel
90
4. ISSN: 2277 – 9043
International Journal of Advanced Research in Computer Science and Electronics Engineering
Volume 1, Issue 4, June 2012
• Multiplex When the user is navigated to this page, he will be
• Hostels prompted to enter Source and destination location values.
• Food Courts Here,
• Recreation (ECC)
• Source and destination fields need to be entered
It has many software development buildings (SDB), two compulsorily. Otherwise exception message prompting the
GEC centers and 9 food courts (FC). It also has enormous user to make proper selection is displayed.
number of hostel buildings to accommodate up to 15,000 • Also, source and destination must not contain same
employees at a time. location values. Otherwise appropriate exception message
An employee who is new to campus will face difficulty to will be displayed on the same screen.
locate various buildings like ECC, GEC, and FC etc. To Till both the above conditions are not fulfilled, application
facilitate such employees, we can think of developing Google will not move proceed further.
map based navigation application called as 'iNavigate', which
can be easily installed in employees Android based smart When the proper selections are made, user can click on the
phone. “Go” button. When this button is pressed,
Using 'iNavigate' application, an employee should be able • Longitude and latitude values of source and destination
to get the directions from one building to another and find out will be displayed to the user.
the distance between them. Also should be able to get the • Also, User can see Google map, highlighting the path from
directions from current place to destination. It should be easy source to destination location.
to use.
User can go back to home page displaying options by
pressing back button.
Fig: High level Design Architecture
Home page of the application provides three options to the
user as follows:
1. Where am I?
2. Get Direction
3. Get distance
User need to select one option amongst the above
Fig: Snapshot for where am I?
displayed three and click on then ok button placed on the
same screen below these options.
3. Find distance
1. Where am i?
If the user selects third option amongst the three options of
If the user selects first option amongst three options of
home screen and presses OK button, User is navigated to this
home screen, User is navigated to next activity asking the
page that allows the user to get the distance from one place to
user to enter current location and click “ Where am i?” button
another of Mysore DC in meters.
to find out user’s current location on the map.
When the user is navigated to this page, he will be
When user clicks on this button:-
prompted to select Source and destination location through
• Longitude and latitude values of current location are
drop down menus. Here,
shown to user.
• User can see his current position on the Google map of
• Source and destination fields need to be selected
Mysore DC.
compulsorily. Otherwise exception message prompting the
• User can click on Zoom in and zoom out by clicking on
user to make proper selection is displayed.
ZoomIn and ZoomOut buttons.
• Also, source and destination must not contain same
User can go back to home page displaying options by
location values. Otherwise appropriate exception message
pressing Home button.
will be displayed on the same screen.
2. Find direction
Till both the above conditions are not fulfilled, application
If the user selects second option amongst the three options
will not move proceed further.
of home screen, User is navigated to this page that allows the
user to get the direction from one place to another of Mysore
DC.
92