Skip to content

BAU-COOP4423/W7-HMS-Location-Map-Site-Services

Repository files navigation

(W7) HMS Location, Map and Site Services

7th week content of COOP4423 course

This application is a reference application prepared to introduce the use of Map Kit, Location Kit and Site Kit used for location based operations within the Huawei Mobile Services (HMS) ecosystem.

Introduction

Muhit is an app that showing on map closest points of interest from your location. You can select multiple points on list.

About HUAWEI Location Kit

HMS Location Kit combines the Global Navigation Satellite System (GNSS), Wi-Fi, and base station location functionalities into your app to build up global positioning capabilities, allowing you to provide flexible location-based services for global users. Currently, it provides three main capabilities: fused location, activity identification, and geofence. You can call one or more of these capabilities as needed. More Details

About HUAWEI Map Kit

HMS Map Kit is an SDK for map development. It covers map data of more than 200 countries and regions, and supports over one hundred of languages. With this SDK, you can easily integrate map-based functions into your apps. More Details

About HUAWEI Site Kit

HMS Site Kit provides place search services including keyword search, nearby place search, place detail search, and place search suggestion, helping your app provide convenient place-related services to attract more users and improve user loyalty. More Details

Getting Started

Muhit uses HUAWEI services. In order to use them, you have to create an app first. Before getting started, please sign-up for a HUAWEI developer account.

After creating the application, you need to generate a signing certificate fingerprint. Then you have to set this fingerprint to the application you created in AppGallery Connect.

  • Go to "My Projects" in AppGallery Connect.
  • Find your project from the project list and click the app on the project card.
  • On the Project Setting page, set SHA-256 certificate fingerprint to the SHA-256 fingerprint you've generated. AGC-Fingerprint

Using the Application

  • When you open the application, you will see a full screen map. This map is provided with the Huawei Map Kit.
  • If you grant location permission, Huawei Location Kit provides instant location information.
  • Your obtained location information is sent to Huawei Site Kit to reach the closest POIs to your location. (POI: Point of Interest)
  • You choose the type of POI you want to see from the drop-down box on the screen, and thanks to the data provided by Huawei Site Kit, the nearest POI list is created.
  • The information in this list is processed and added to the Huawei Map as a marker (pin).
  • For example, when you select ATM from the list, you can quickly see the ATMs closest to you on the map.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages