Skip to content

Maps SDK for Android Utility Library (Based on HMS Core)

License

Notifications You must be signed in to change notification settings

ttljtw/3rd-maps-utils

 
 

Repository files navigation

3rd-maps-utils (AndroidX)

This project is derived from Maps SDK for Android Utility Library, and relies on Huawei HMS Core Map Kit and Site Kit.

Usage of library module

  1. Open Gradle, click library->Tasks->build->assemble.
  2. After Run, find 3rd-maps-utils-2.3.0-yyyyMMdd.aar file in library/build/outputs/aar/ path.
  3. Copy 3rd-maps-utils-2.3.0-yyyyMMdd.aar file to your own app/libs/ path.
  4. Add codes below in project build.gradle file.
allprojects {
	repositories {
		...
		flatDir {
			dirs 'libs'
		}
	}
}
  1. Add codes below in app build.gradle file.
dependencies {
    implementation(name: '3rd-maps-utils-2.3.0-yyyyMMdd', ext: 'aar')
    ...
}

Usage of demo module

  1. Configuring App Information in AppGallery Connect
  2. Adding the AppGallery Connect Configuration File of Your App
  3. Replace your own applicationId in build.gradle(Module:3rd-maps-utils.demo), it should be the same as the package_name in agconnect-services.json file.
  4. Replace your own signingConfigs in build.gradle(Module:3rd-maps-utils.demo), it should be the keystore file used to generate the SHA-256 value configured on AppGallery Connect.
  5. Replace your own API_KEY in HeatmapsSiteDemoActivity.java, it should be encoded by using URLEncoder.encode("Your apiKey", "UTF-8") method.

About

Maps SDK for Android Utility Library (Based on HMS Core)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.3%
  • Kotlin 1.6%
  • Shell 0.1%