Location-based services in mobile applications can
only be provided by using geolocation technologies. Furthermore specific
application requirements must also be taken into consideration. So some
application must determine the current location accurately and as quickly as
possible. Furthermore the energy consumption is important as well, because a
mobile device like a smartphone has limited energy and thereby must handle
energy-intensive localizations very carefully.
What geolocation technology - the HTML5 Geolocation
API or the Android-getBestProvider-function – fulfills such requirements best,
is answered in this thesis. Therefore both technologies are observed in detail
and are practically compared. There are also different factors that influence
localizations. Where a smartphone is localized, is just one factor, whether an
accurate localization can be achieved.
Different measurements - based on accuracy, speed and
energy consumption - and a Samsung Galaxy S4 proved that although the
Android-getBestProvider-function needed less time and energy, accurate
localizations can be done with both technologies, the HTML5 geolocation API and
the Android-getBestProvider-function.