Professional Documents
Culture Documents
An Android Based Location Service Using Gsmcellid and Gps To Obtain A Graphical Guide To The Nearest Cash Machine
An Android Based Location Service Using Gsmcellid and Gps To Obtain A Graphical Guide To The Nearest Cash Machine
An Android Based Location Service Using Gsmcellid and Gps To Obtain A Graphical Guide To The Nearest Cash Machine
2.3 Freely available positioning web services
In addition to the fee requiring mentioned hybrid positioning techniques there are also some freely available CellID
web services. These web services enable developers to use it by sending HTTP-Requests to them. This request is
send with the current CellID among other parameters like MCC (Mobile Country Code), MNC (Mobile Network
Code), LAC (Local Area Code) and an application id. The HTTP-Response returns the CellID mapped geo
coordinates of the corresponding broadcasting tower. These APIs mainly consist of the database which provides the
mapping between a given CellID and its corresponding broadcasting tower geo coordinates. The Yahoo! ZoneTag
Location Services
4
and OpenCellID are two examples of such freely available CellID mapping services.
OpenCellID
5
is the open source alternate in this field. The efficiency of these free services depends on the level of
cell coverage. With enough entries they can be a real alternative to fee requiring solutions and may also offer
positioning accuracy enhancing triangulation techniques. This triangulation calculation can be implemented as an
advanced feature to this web services. They would add the CellIDs of the other cells to which the handset is possibly
currently connected to with each of its corresponding signal strengths as additional parameters to the method call of
the web service. The service would make the calculation and return the more accurate result.
3. THE ANDROID APPLICATION
Lets start inside the user scenario. The user is in an unknown district and pushes the button for showing the nearest
cash machines. The first step is to locate the users position via GPS or GSMCellID.
Fig. 1. Service Location Process
The application can use both GPS and CellID to locate its position. With the handset based positioning via an
integrated GPS module the positioning is accurate but may fail indoors, between tall buildings or in cloudy weather.
It can be accessed easily through the package android.location. If GPS is not available at the moment or is not
supplied through an integrated GPS module the application can work in CellID mode. It uses the access to the
current CellID and other needed information provided by the PhoneStateListener. At this point the application
makes use of one of the freely available positioning web services such as OpenCellID to request its current position.
With this information it is able to use the Google Services by means of the android.location.Geocoder class
to make the Reverse Geocoding it resolves the geographic coordinates into a textual address, for instance a street
address. Now it can provide our exemplary mashup web service for getting the nearest cash machine textual
addresses with its input parameters. The output of this service, the cash machine addresses, can be used with the
Geocoder class again to get the needed corresponding geo coordinates for it. Finally the application draws a
SPIE-IS&T/ Vol. 7256 72560R-3
com.google.android.maps.Overlay on top of the com.google.android.maps.MapView and places tip
sensitive icons for the cash machine locations on the screen. This is shown in figure 1.
Fig. 2. Deployment Diagram of the Application
Figure 2 shows the Deployment Diagram of the exemplary application. We should think of the Mashup Service as
an exchangeable module in this model. Subsequently figure 3 shows the sequence of getting the nearest cash
machine with the option to get the route information.
Fig. 3.Getting The Nearest Cash Machine
4. PERSPECTIVE
The topic of mobile Location Based Services is progressing quickly and a lot of challenges and questions will be
solved and new ones will emerge. The following issues are trend-setting ones:
SPIE-IS&T/ Vol. 7256 72560R-4
4.1 Integrating other Web Services and Semantic Search
Current research is directed to two areas: 1) Gathering more user related information from Web-Services as REST
based services. 2) Combine all services as they could be semantically interconnected. One example could be user
profiles for interests: lets say cellphone user A is a snooker fan and cellphone user B as well. Both users are
connected via their friendship profiles (as done by popular instant messengers) and are fans of playing snooker. Both
users enter the same location area and thus receive messages that User B is near and also a snooker fan. You might
wish to contact him for a game?. Scenarios like this are difficult in security and filtering out useful information as
you might not wish to receive this message if you are currently swimming. But as profile and location information
integration gets better advanced semantic search engines can yield lots of useful services with a huge market
potential.
4.2 Androids development on the mobile market
Androids market introduction on the US mobile market was on 22nd of October 2008 with the T-Mobile G1 (HTC
Dream). Since then it was sold remarkably but it doesnt seem to be a competitor to the iPhone yet. We assume that
the mobile operating-system market will end up with a few operating systems while open source solutions will start
to cover at least a quarter of this market within a few years. The Symbian Nokia acquisition showed the need for free
operating systems for other vendors.
4.3 Chances for and through an free and open valuable CellID/Wi-Fi-Database
The chances for and free and open valuable CellID-Database/Wi-Fi-Database is also on the roadmap. We think the
the CellID Data could be a potential market and a new income for mobile companies. If the security problems will
be solved, it would be another potential market to sell location data. What is needed then is a clear de facto standard
in mobile positioning techniques. This would make commercial location services independent of the vendor and
might offer a wider market.
5. SUMMARY
In this paper we explored the possibilities of the integration of LBS with more customer services. We assume that
more and more applications like this will emerge o the Android Marketplace. There applications will contact Web
Services to obtain user related data that could be of interest for the cellphone user.
The application can be greatly enhanced if Google Maps yet beta feature Walking Directions
6
would become a
worldwide alpha and would be integrated into Android. This scenario seems to be quite likely to us, because this is
another chance for Google to be the first in this market with synergy effects of Google products.
REFERENCES
[1] Android open source project, http://source.android.com/
[2] Open Handset Alliance, http://www.openhandsetalliance.com/press_110507.html
[3] Optional APIs in Android, http://code.google.com/intl/de-DE/android/toolbox/optional-apis.html
[4] ZoneTag Location Services: Cell Location, http://developer.yahoo.com/yrb/zonetag/locatecell.html
[5] OpenCellID, http://www.opencellid.org/
[6] Google Lat Long Blog, http://google-latlong.blogspot.com/2008/07/pound-pavement.html
SPIE-IS&T/ Vol. 7256 72560R-5